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;
|
jq = enabled;
|
||||||
just = enabled;
|
just = enabled;
|
||||||
less = enabled;
|
less = enabled;
|
||||||
|
man = enabled;
|
||||||
nh = enabled;
|
nh = enabled;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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!";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue