summaryrefslogtreecommitdiff
path: root/user-profiles/core.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles/core.nix')
-rw-r--r--user-profiles/core.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/user-profiles/core.nix b/user-profiles/core.nix
index cf5db3b6..29891d12 100644
--- a/user-profiles/core.nix
+++ b/user-profiles/core.nix
@@ -10,12 +10,11 @@
10 manual.manpages.enable = true; 10 manual.manpages.enable = true;
11 home.stateVersion = "20.09"; 11 home.stateVersion = "20.09";
12 systemd.user.startServices = "sd-switch"; 12 systemd.user.startServices = "sd-switch";
13
14 }; 13 };
15 }; 14 };
16 15
17 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf config.home-manager.enableSystemd { 16 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) {
18 enable = false; # deploy with deploy-rs 17 restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs
19 }; 18 };
20 }; 19 };
21} 20}