add xdg variables

This commit is contained in:
2023-07-23 21:00:09 +08:00
parent 02d4b71aef
commit 7dcbc06e9a

View File

@@ -88,6 +88,13 @@ inputs:
};
timers.systemd-tmpfiles-clean.enable = false;
};
environment.sessionVariables =
{
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
};
}
# hostname
{ networking.hostName = inputs.config.nixos.system.hostname; }