diff --git a/home/man/default.nix b/home/man/default.nix index 28e7d87..54e6fbc 100644 --- a/home/man/default.nix +++ b/home/man/default.nix @@ -1,14 +1,8 @@ -{ - 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!' - ''; + home.sessionVariables = { + MANWIDTH = "80"; + MANPAGER = "nvim +NoNeckPain '+set nowrap' +Man!"; }; }