diff --git a/home/pager.nix b/home/pager.nix index 1306b32..c65c2f0 100644 --- a/home/pager.nix +++ b/home/pager.nix @@ -1,4 +1,11 @@ { ... }: { programs.lesspipe.enable = true; + + home.sessionVariables = { + # My default pager + PAGER = "less"; + # Clear the screen on start and exit + LESS = "-R -+X -c"; + }; }