Set up XDG system environment variables sort of how they set them up

in nixos by appending them to the nix profiles
This commit is contained in:
Daniel V 2020-05-11 06:56:21 -04:00
parent d3dff8cefb
commit 5796faef94
2 changed files with 4 additions and 4 deletions

View file

@ -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";
};