summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-04-29 14:19:15 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-04-29 14:19:15 +0200
commita0fbc9729a1b7b45b962556028499f3342f66ae3 (patch)
treec322e0a718722f93c8c51976864ef824f936ac0e /user-profiles
parent8435490a8bf20cf12d909a43dadbdba3e14bb88d (diff)
downloadnixos-a0fbc9729a1b7b45b962556028499f3342f66ae3.tar
nixos-a0fbc9729a1b7b45b962556028499f3342f66ae3.tar.gz
nixos-a0fbc9729a1b7b45b962556028499f3342f66ae3.tar.bz2
nixos-a0fbc9729a1b7b45b962556028499f3342f66ae3.tar.xz
nixos-a0fbc9729a1b7b45b962556028499f3342f66ae3.zip
...
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/core.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/user-profiles/core.nix b/user-profiles/core.nix
index a8af48b3..d3c42f36 100644
--- a/user-profiles/core.nix
+++ b/user-profiles/core.nix
@@ -5,7 +5,9 @@ with lib;
5{ 5{
6 config = { 6 config = {
7 users.users.${userName} = {}; # Just make sure the user is created 7 users.users.${userName} = {}; # Just make sure the user is created
8 home-manager.users.${userName} = {}; 8 home-manager.users.${userName} = {
9 config.nix.settings.use-xdg-base-directories = lib.mkDefault true;
10 };
9 11
10 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) { 12 systemd.services."home-manager-${utils.escapeSystemdPath userName}" = lib.mkIf (!config.home-manager.enableSystemd) {
11 restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs 13 restartIfChanged = false; # only run once on startup, deploy to running system with deploy-rs