feat(less): Configure less

This commit is contained in:
punkfairie 2024-10-29 21:31:59 -07:00
parent f2ffc91f31
commit af06a4e3f0
Signed by: punkfairie
GPG key ID: 01823C057725C266
2 changed files with 16 additions and 0 deletions

View file

@ -37,6 +37,7 @@
./fish ./fish
./gh ./gh
./hyfetch ./hyfetch
./less
./man ./man
./syncthing ./syncthing
./wget ./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;
}