git.iko.soy/typeable/nixpkgs
on master help sign in
Fix default pager environment

Causes `dmesg -H` (aka `dmesg --human`) to actually work.

commit0e7b4e60a846af1d4487ebe1218f8e07fffaa89b authorheisenberg33 <45217677+heisenberg33@users.noreply.github.com> dateThu 1 Jul 2021, 13:03 (5 years ago) parent5a46be3
1 file changed+2−1
nixos/modules/programs/environment.nix+2−1
nixos/modules/programs/environment.nix+2−1
@@ -18,7 +18,8 @@ in
1818
1919 environment.variables =
2020 { NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
21− PAGER = mkDefault "less -R";
21+ PAGER = mkDefault "less";
22+ LESS = mkDefault "-R";
2223 EDITOR = mkDefault "nano";
2324 XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
2425 };