diff --git a/home/default.nix b/home/default.nix index 42c54f5..c335156 100644 --- a/home/default.nix +++ b/home/default.nix @@ -37,6 +37,7 @@ ./fish ./gh ./hyfetch + ./man ./syncthing ./wget ./xdg diff --git a/home/man/default.nix b/home/man/default.nix new file mode 100644 index 0000000..28e7d87 --- /dev/null +++ b/home/man/default.nix @@ -0,0 +1,14 @@ +{ + lib, + config, + ... +}: { + programs.man.enable = true; + + programs.fish = lib.mkIf config.programs.fish.enable { + interactiveShellInit = '' + set -gx MANWIDTH 80 + set -gx MANPAGER 'nvim +NoNeckPain "+set nowrap" +Man!' + ''; + }; +}