diff options
author | Alan Pearce | 2024-11-17 16:40:50 +0100 |
---|---|---|
committer | Alan Pearce | 2024-11-17 16:40:50 +0100 |
commit | 005bfdb01e83c677cb5d2cadcbed1ca2ee214695 (patch) | |
tree | 43ba3a9d7d470da4f151be445945609bfe301b97 /user | |
parent | 54f99637a3723a1afdcdb467cd82e9d732c02769 (diff) | |
download | nixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.tar.lz nixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.tar.zst nixfiles-005bfdb01e83c677cb5d2cadcbed1ca2ee214695.zip |
fix XDG_STATE_HOME not matching nix profile on darwin
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/base.nix | 5 |
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 = { |