diff --git a/modules/environment/default.nix b/modules/environment/default.nix index d0fb128c..2791c45f 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -169,7 +169,10 @@ in ''; environment.variables = - { EDITOR = mkDefault "nano"; + { + XDG_CONFIG_DIRS = map (path: path + "/etc/xdg") cfg.profiles; + XDG_DATA_DIRS = map (path: path + "/share") cfg.profiles; + EDITOR = mkDefault "nano"; PAGER = mkDefault "less -R"; };