diff options
| author | Baitinq <[email protected]> | 2022-07-24 17:52:52 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-07-24 21:31:53 +0200 |
| commit | 6518964a4984157a4919e1426f98eeac851fe497 (patch) | |
| tree | 7a25e8b0a556c69045306201e4a73bf9ce916662 /hosts | |
| parent | Luna: Add kernel modules to make disk encryption faster (diff) | |
| download | nixos-config-6518964a4984157a4919e1426f98eeac851fe497.tar.gz nixos-config-6518964a4984157a4919e1426f98eeac851fe497.tar.bz2 nixos-config-6518964a4984157a4919e1426f98eeac851fe497.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; [ |