diff options
Diffstat (limited to 'system/settings')
-rw-r--r-- | system/settings/darwin.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix index 6423f102..ef039a48 100644 --- a/system/settings/darwin.nix +++ b/system/settings/darwin.nix @@ -10,6 +10,12 @@ enable = true; enableSocketListener = true; }; + + environment.profiles = with lib; mkMerge [ + (mkOrder 800 [ "\${XDG_STATE_HOME:-$HOME/.local/state}/nix/profile" ]) + [ "/run/current-system/sw" "/nix/var/nix/profiles/default" ] + ]; + nix = { settings.cores = lib.mkDefault 0; daemonIOLowPriority = true; |