mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Fix default pager environment
Causes `dmesg -H` (aka `dmesg --human`) to actually work.
This commit is contained in:
parent
5a46be366e
commit
0e7b4e60a8
@ -18,7 +18,8 @@ in
|
||||
|
||||
environment.variables =
|
||||
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
|
||||
PAGER = mkDefault "less -R";
|
||||
PAGER = mkDefault "less";
|
||||
LESS = mkDefault "-R";
|
||||
EDITOR = mkDefault "nano";
|
||||
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user