feat(man): Configure man

This commit is contained in:
punkfairie 2024-10-29 21:27:57 -07:00
parent b4869c93c4
commit 1de7e59393
2 changed files with 15 additions and 0 deletions

View file

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

14
home/man/default.nix Normal file
View file

@ -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!'
'';
};
}