diff options
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; [ |