Skip to content

Commit 15baff7

Browse files
committed
fix(man): switch to mandoc backend so nix man pages are discoverable on darwin
home-manager's programs.man defaults install man-db, which doesn't index the profile for macOS BSD man(1). Disabling man-db and enabling mandoc symlinks profile pages into ~/.local/share/mandoc/man and prepends it to MANPATH, so `man <pkg-from-nix>` resolves the page.
1 parent 336851e commit 15baff7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/apps/man.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
man = {
33
enable = true;
4+
man-db.enable = false;
5+
mandoc.enable = true;
46
};
57
}

0 commit comments

Comments
 (0)