Set XDG defaults in sessionVariables

This commit is contained in:
Evie Litherland-Smith 2024-03-08 08:10:36 +00:00
parent 235a678a7c
commit 4be59efb4e

View file

@ -10,6 +10,12 @@
nameservers = ["9.9.9.9"]; nameservers = ["9.9.9.9"];
}; };
environment = { environment = {
sessionVariables = {
XDG_CONFIG_HOME = "$HOME/.config";
XDG_CACHE_HOME = "$HOME/.cache";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
systemPackages = with pkgs; [ systemPackages = with pkgs; [
coreutils coreutils
libsecret libsecret