From 005bfdb01e83c677cb5d2cadcbed1ca2ee214695 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 17 Nov 2024 16:40:50 +0100 Subject: fix XDG_STATE_HOME not matching nix profile on darwin --- user/settings/base.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'user') 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 = { -- cgit 1.4.1