diff --git a/hosts/common/desktop/xdg-ninja.nix b/hosts/common/desktop/xdg-ninja.nix index f2b3db9..cdd7230 100644 --- a/hosts/common/desktop/xdg-ninja.nix +++ b/hosts/common/desktop/xdg-ninja.nix @@ -3,6 +3,7 @@ ... }: let inherit (config.poz.other.system) username; + hmCfg = config.home-manager.users.${username}; # https://specifications.freedesktop.org/basedir-spec/latest/ XDG_CACHE_HOME = "$HOME/.cache"; @@ -75,10 +76,10 @@ in { ''; }; - cacheHome = XDG_CACHE_HOME; - configHome = XDG_CONFIG_HOME; - dataHome = XDG_DATA_HOME; - stateHome = XDG_STATE_HOME; + cacheHome = "${hmCfg.home.homeDirectory}/.cache"; + configHome = "${hmCfg.home.homeDirectory}/.config"; + dataHome = "${hmCfg.home.homeDirectory}/.local/share"; + stateHome = "${hmCfg.home.homeDirectory}/.local/state"; }; }; }