feat: man
This commit is contained in:
parent
f9af0ee523
commit
99a600c253
3 changed files with 8 additions and 3 deletions
|
@ -25,6 +25,7 @@ in {
|
|||
jq = enabled;
|
||||
just = enabled;
|
||||
less = enabled;
|
||||
man = enabled;
|
||||
nh = enabled;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
./jq.nix
|
||||
./just.nix
|
||||
./less.nix
|
||||
./man.nix
|
||||
./nemo.nix
|
||||
./nh.nix
|
||||
./waybar.nix
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.man;
|
||||
|
@ -12,8 +12,11 @@ in {
|
|||
|
||||
home.sessionVariables = {
|
||||
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!";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue