summary refs log tree commit diff stats
path: root/user/settings/base.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-11-17 16:40:50 +0100
committerAlan Pearce2024-11-17 16:40:50 +0100
commit005bfdb01e83c677cb5d2cadcbed1ca2ee214695 (patch)
tree43ba3a9d7d470da4f151be445945609bfe301b97 /user/settings/base.nix
parent54f99637a3723a1afdcdb467cd82e9d732c02769 (diff)
downloadnixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.tar.lz
nixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.tar.zst
nixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.zip
fix XDG_STATE_HOME not matching nix profile on darwin
Diffstat (limited to 'user/settings/base.nix')
-rw-r--r--user/settings/base.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix
index 97ad7d14..837f5e3f 100644
--- a/user/settings/base.nix
+++ b/user/settings/base.nix
@@ -41,10 +41,7 @@
       else "${config.home.homeDirectory}/.cache";
     configHome = "${config.home.homeDirectory}/.config";
     dataHome = "${config.home.homeDirectory}/.local/share";
-    stateHome =
-      if pkgs.stdenv.isDarwin
-      then "${config.home.homeDirectory}/Library/Caches/TemporaryItems/State"
-      else "${config.home.homeDirectory}/.local/state";
+    stateHome = "${config.home.homeDirectory}/.local/state";
   };
 
   home.shellAliases = {