fix STUPID fucking hm xdg config
This commit is contained in:
parent
06a74bb13f
commit
77d9e5598d
1 changed files with 5 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.poz.other.system) username;
|
inherit (config.poz.other.system) username;
|
||||||
|
hmCfg = config.home-manager.users.${username};
|
||||||
|
|
||||||
# https://specifications.freedesktop.org/basedir-spec/latest/
|
# https://specifications.freedesktop.org/basedir-spec/latest/
|
||||||
XDG_CACHE_HOME = "$HOME/.cache";
|
XDG_CACHE_HOME = "$HOME/.cache";
|
||||||
|
@ -75,10 +76,10 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
cacheHome = XDG_CACHE_HOME;
|
cacheHome = "${hmCfg.home.homeDirectory}/.cache";
|
||||||
configHome = XDG_CONFIG_HOME;
|
configHome = "${hmCfg.home.homeDirectory}/.config";
|
||||||
dataHome = XDG_DATA_HOME;
|
dataHome = "${hmCfg.home.homeDirectory}/.local/share";
|
||||||
stateHome = XDG_STATE_HOME;
|
stateHome = "${hmCfg.home.homeDirectory}/.local/state";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue