Live data from Hacker News

Nix Home Manager Option Search

mipmip.github.io

1–10 of 33 posts

Re: Nix Home Manager Option Search

#5

Is there a good way of getting this sort of thing for nix projects in general? I often find myself cloning the repo for it just so I can grep for `mkOption` and I often wonder if there's a smarter way.

man configuration.nix

Then use the search function of the pager.

Re: Nix Home Manager Option Search

#7
post #5

Is there a good way of getting this sort of thing for nix projects in general? I often find myself cloning the repo for it just so I can grep for `mkOption` and I often wonder if there's a smarter way.

man configuration.nix Then use the search function of the pager.

man home-configuration.nix

works for home-manager

Re: Nix Home Manager Option Search

#9

Is there a good way of getting this sort of thing for nix projects in general? I often find myself cloning the repo for it just so I can grep for `mkOption` and I often wonder if there's a smarter way.

I only got it to the proof of concept stage, but I was hacking on something that would generate docs for everything found on a Nix Flake (including modules): https://github.com/snowfallorg/frost

Here's an example output that I generated for my config repo: https://jakehamilton.github.io/config/

Re: Nix Home Manager Option Search

#10

I "love" these projects that won't even describe what they do on their front page or even in their manual. Of course everybody has 30 minutes to spare to try to understand what it is.

Fear not, these are configuration options for a project called Home Manager, which manages your user configuration and dotfiles with the help of Nix the package manager:

https://drakerossman.com/blog/how-to-add-home-manager-to-nix...

Post reply on HN