summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-13 10:41:41 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-13 10:41:41 +0100
commit46152e140fe428538a562dcfd1627a88a02dcc09 (patch)
treebe9e750b58363bcde0749804681a2c5643883e2e /user-profiles
parentb4d952460bdd970d90e91d7b8e778b44a0ef3394 (diff)
downloadnixos-46152e140fe428538a562dcfd1627a88a02dcc09.tar
nixos-46152e140fe428538a562dcfd1627a88a02dcc09.tar.gz
nixos-46152e140fe428538a562dcfd1627a88a02dcc09.tar.bz2
nixos-46152e140fe428538a562dcfd1627a88a02dcc09.tar.xz
nixos-46152e140fe428538a562dcfd1627a88a02dcc09.zip
...
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/core.nix27
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}