man pages

This commit is contained in:
Harivansh Rathi 2026-03-19 20:41:24 -04:00
parent 570dae7cf2
commit 7e700e5b1b
3 changed files with 8 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{
config,
lib,
pkgs,
...
@ -43,6 +44,10 @@ in {
];
};
home.sessionVariables = lib.mkIf config.programs.neovim.enable {
MANPAGER = "nvim +Man!";
};
xdg.configFile."nvim" = {
source = nvimConfig;
recursive = true;

View file

@ -56,6 +56,8 @@
# Ghostty shell integration expects a resource directory; the Nix app
# bundle lives in the store instead of /Applications.
export GHOSTTY_RESOURCES_DIR="${pkgs.ghostty-bin}/Applications/Ghostty.app/Contents/Resources/ghostty"
export MANPAGER="nvim +Man!"
'';
initContent = lib.mkMerge [