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