diff --git a/home/default.nix b/home/default.nix index c335156..7ba14fd 100644 --- a/home/default.nix +++ b/home/default.nix @@ -37,6 +37,7 @@ ./fish ./gh ./hyfetch + ./less ./man ./syncthing ./wget diff --git a/home/less/default.nix b/home/less/default.nix new file mode 100644 index 0000000..34203f1 --- /dev/null +++ b/home/less/default.nix @@ -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; +}