fix XDG_STATE_HOME not matching nix profile on darwin
Alan Pearce alan@alanpearce.eu
Sun, 17 Nov 2024 16:40:50 +0100
1 files changed, 1 insertions(+), 4 deletions(-)
jump to
M user/settings/base.nix → user/settings/base.nix
@@ -41,10 +41,7 @@ then "${config.home.homeDirectory}/Library/Caches/XDG" 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 = {