✨ feat(less): Configure less
This commit is contained in:
parent
f2ffc91f31
commit
af06a4e3f0
2 changed files with 16 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
./fish
|
||||
./gh
|
||||
./hyfetch
|
||||
./less
|
||||
./man
|
||||
./syncthing
|
||||
./wget
|
||||
|
|
15
home/less/default.nix
Normal file
15
home/less/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.less.enable = true;
|
||||
|
||||
programs.fish = lib.mkIf config.programs.fish.enable {
|
||||
interactiveShellInit = ''
|
||||
set -gx LESS -R
|
||||
'';
|
||||
};
|
||||
|
||||
programs.lesspipe.enable = true;
|
||||
}
|
Loading…
Reference in a new issue