From 7e700e5b1ba9dfb98bddf1c8c26f1f9e93fab84d Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Thu, 19 Mar 2026 20:41:24 -0400 Subject: [PATCH] man pages --- home/nvim.nix | 5 +++++ home/zsh.nix | 2 ++ modules/packages.nix | 1 + 3 files changed, 8 insertions(+) diff --git a/home/nvim.nix b/home/nvim.nix index e269ba8..c955b3a 100644 --- a/home/nvim.nix +++ b/home/nvim.nix @@ -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; diff --git a/home/zsh.nix b/home/zsh.nix index cf78e7f..614dd60 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -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 [ diff --git a/modules/packages.nix b/modules/packages.nix index 537f648..8cd689a 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -87,6 +87,7 @@ in { diff-so-fancy git-filter-repo git-lfs + goose graphite google-cloud-sdk gwsPackage