mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
add xdg variables
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user