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:
parent
d3dff8cefb
commit
5796faef94
2 changed files with 4 additions and 4 deletions
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue