diff options
Diffstat (limited to 'user-profiles/core.nix')
-rw-r--r-- | user-profiles/core.nix | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/user-profiles/core.nix b/user-profiles/core.nix index cb2c400e..cf5db3b6 100644 --- a/user-profiles/core.nix +++ b/user-profiles/core.nix | |||
@@ -1,14 +1,21 @@ | |||
1 | { flake, userName, lib, ... }: | 1 | { flake, userName, config, lib, utils, ... }: |
2 | { | 2 | { |
3 | users.users.${userName} = {}; # Just make sure the user is created | 3 | config = { |
4 | 4 | users.users.${userName} = {}; # Just make sure the user is created | |
5 | home-manager.users.${userName} = { | 5 | |
6 | imports = lib.attrValues flake.homeModules; | 6 | home-manager.users.${userName} = { |
7 | 7 | imports = lib.attrValues flake.homeModules; | |
8 | config = { | 8 | |
9 | manual.manpages.enable = true; | 9 | config = { |
10 | home.stateVersion = "20.09"; | 10 | manual.manpages.enable = true; |
11 | systemd.user.startServices = "sd-switch"; | 11 | home.stateVersion = "20.09"; |
12 | systemd.user.startServices = "sd-switch"; | ||
13 | |||
14 | }; | ||
15 | }; | ||
16 | |||
17 | systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf config.home-manager.enableSystemd { | ||
18 | enable = false; # deploy with deploy-rs | ||
12 | }; | 19 | }; |
13 | }; | 20 | }; |
14 | } | 21 | } |