fix STUPID fucking hm xdg config

This commit is contained in:
jacekpoz 2024-11-02 22:53:05 +01:00
parent 06a74bb13f
commit 77d9e5598d
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -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";
};
};
}