summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-05-11 17:50:11 +0200
committerAlan Pearce2024-05-11 17:50:11 +0200
commit92057a7589cada381b1c7813555edce42baf18f8 (patch)
tree9377a91b4badded060b4ca009fc7a6775917acb4 /system/settings
parent7755e1793f8f6280da651111c2ccb00dbdb27360 (diff)
downloadnixfiles-92057a7589cada381b1c7813555edce42baf18f8.tar.lz
nixfiles-92057a7589cada381b1c7813555edce42baf18f8.tar.zst
nixfiles-92057a7589cada381b1c7813555edce42baf18f8.zip
nix: use XDG base directories
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/configuration/nix.nix1
-rw-r--r--system/settings/darwin.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index ff870540..25b9696f 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -10,6 +10,7 @@
     settings = {
       cores = 0;
       auto-optimise-store = true;
+      use-xdg-base-directories = true;
     };
 
     daemonCPUSchedPolicy = "idle";
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 323b00d6..6423f102 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -23,6 +23,7 @@
     settings.warn-dirty = false;
     settings.keep-outputs = true;
     settings.keep-derivations = true;
+    settings.use-xdg-base-directories = true;
 
     linux-builder.enable = true;
     settings.trusted-users = [ "@admin" ];