Merge pull request #128916 from heisenberg33/patch-4
Fix default pager environment
This commit is contained in:
commit
e16c267e48
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ in
|
||||||
|
|
||||||
environment.variables =
|
environment.variables =
|
||||||
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
|
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
|
||||||
PAGER = mkDefault "less -R";
|
PAGER = mkDefault "less";
|
||||||
|
LESS = mkDefault "-R";
|
||||||
EDITOR = mkDefault "nano";
|
EDITOR = mkDefault "nano";
|
||||||
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
|
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue