feat: man

This commit is contained in:
punkfairie 2025-05-27 17:50:11 -07:00
parent f9af0ee523
commit 99a600c253
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 8 additions and 3 deletions

View file

@ -25,6 +25,7 @@ in {
jq = enabled; jq = enabled;
just = enabled; just = enabled;
less = enabled; less = enabled;
man = enabled;
nh = enabled; nh = enabled;
}; };
} }

View file

@ -19,6 +19,7 @@
./jq.nix ./jq.nix
./just.nix ./just.nix
./less.nix ./less.nix
./man.nix
./nemo.nix ./nemo.nix
./nh.nix ./nh.nix
./waybar.nix ./waybar.nix

View file

@ -1,6 +1,6 @@
{ {
lib,
config, config,
lib,
... ...
}: let }: let
cfg = config.marleyos.programs.man; cfg = config.marleyos.programs.man;
@ -12,8 +12,11 @@ in {
home.sessionVariables = { home.sessionVariables = {
MANWIDTH = "80"; MANWIDTH = "80";
# TODO: Only set this is nvim is installed. Also install plugin here?
MANPAGER = "nvim +NoNeckPain '+set nowrap' +Man!"; MANPAGER =
lib.mkIf
config.marleyos.programs.neovim.enable
"nvim +NoNeckPain '+set nowrap' +Man!";
}; };
}; };
} }