Fix default pager environment

Causes `dmesg -H` (aka `dmesg --human`) to actually work.
This commit is contained in:
heisenberg33 2021-07-01 13:03:03 -07:00 committed by GitHub
parent 5a46be366e
commit 0e7b4e60a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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