diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-24 17:52:52 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-24 21:31:53 +0200 |
commit | 6d493ac1ea6b1f22d86e06ca1bd261a4c116ac45 (patch) | |
tree | ed77d1107f6ba62c46c6f6de54dab5bdc5fc4793 /hosts | |
parent | Luna: Add kernel modules to make disk encryption faster (diff) | |
download | nixos-config-6d493ac1ea6b1f22d86e06ca1bd261a4c116ac45.tar.gz nixos-config-6d493ac1ea6b1f22d86e06ca1bd261a4c116ac45.tar.bz2 nixos-config-6d493ac1ea6b1f22d86e06ca1bd261a4c116ac45.zip |
Set XDG env variables
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 55826ef..cd57bba 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -68,6 +68,18 @@ VISUAL = "nvim"; }; + environment.sessionVariables = rec { + XDG_CACHE_HOME = "\${HOME}/.cache"; + XDG_CONFIG_HOME = "\${HOME}/.config"; + XDG_BIN_HOME = "\${HOME}/.local/bin"; + XDG_DATA_HOME = "\${HOME}/.local/share"; + XDG_STATE_HOME = "\${HOME}/.local/state"; + + PATH = [ + "\${XDG_BIN_HOME}" + ]; + }; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ |