Merge pull request #128916 from heisenberg33/patch-4

Fix default pager environment

authored by Robert Hensing and committed by GitHub e16c267e 3f14c859

+2 -1
+2 -1
nixos/modules/programs/environment.nix
··· 18 18 19 19 environment.variables = 20 20 { NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix"; 21 - PAGER = mkDefault "less -R"; 21 + PAGER = mkDefault "less"; 22 + LESS = mkDefault "-R"; 22 23 EDITOR = mkDefault "nano"; 23 24 XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc 24 25 };