home: pager: add less env variables
This commit is contained in:
parent
b54f0e87a1
commit
bd03e08709
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue