aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-03 14:21:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-03 14:21:56 -0700
commite0a4b9f9caac97ae5f73b72f95c31ed9d719b7bd (patch)
tree6563fde50a8b56a32ca32fafb7b721824b5bec77 /users/fcuny/default.nix
parentremove mytools (diff)
downloadinfra-e0a4b9f9caac97ae5f73b72f95c31ed9d719b7bd.tar.gz
rename `desktop` to `isDesktop`
The variable is used to define the kind of machine we're managing. `isDesktop` is a bit more descriptive. We import `devel` for all machines, and we fine tune which packages we want to install based on the value of `isDesktop`.
Diffstat (limited to 'users/fcuny/default.nix')
-rw-r--r--users/fcuny/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index 3e55cba..32145dd 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -1,9 +1,7 @@
-{ config, lib, pkgs, desktop, ... }:
+{ config, lib, pkgs, isDesktop, ... }:
{
- imports =
- [./cli ]
- ++ (if desktop then [./desktop ./devel] else [ ]);
+ imports = [ ./cli ./devel ] ++ (if isDesktop then [ ./desktop ] else [ ]);
programs.home-manager.enable = true;