all repos — nixfiles @ 005bfdb01e83c677cb5d2cadcbed1ca2ee214695

System and user configuration, managed by nix and home-manager

fix XDG_STATE_HOME not matching nix profile on darwin

Alan Pearce
commit

005bfdb01e83c677cb5d2cadcbed1ca2ee214695

parent

54f99637a3723a1afdcdb467cd82e9d732c02769

1 file changed, 1 insertion(+), 4 deletions(-)

jump to
M user/settings/base.nixuser/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 = {