feat(less): Configure less

This commit is contained in:
punkfairie 2024-10-29 21:31:59 -07:00
parent 1de7e59393
commit ea74168b7e
2 changed files with 16 additions and 0 deletions

View file

@ -37,6 +37,7 @@
./fish
./gh
./hyfetch
./less
./man
./syncthing
./wget

15
home/less/default.nix Normal file
View 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;
}