This commit is contained in:
willifan 2024-05-11 19:56:45 +02:00
parent 3d0a294785
commit 347b20d668
17 changed files with 298 additions and 16 deletions

17
hosts/common/envvar.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
environment.sessionVariables = rec {
NIXOS_OZONE_WL = "1";
XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config";
XDG_DATA_HOME = "$HOME/.local/share";
XDG_STATE_HOME = "$HOME/.local/state";
# Not officially in the specification
#XDG_BIN_HOME = "$HOME/.local/bin";
#PATH = [
# "${XDG_BIN_HOME}"
#];
SCRIPTS = "$XDG_CONFIG_HOME/scripts";
};
}