3 ms·
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` an
by __MatrixMan__ 3y ago
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.
- presto8 3y agoman configuration.nix Then use the search function of the pager.
- pimeys 3y agoman home-configuration.nix works for home-manager
- hiimshort 3y agoI 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 https://github.com/snowfallorg/frost Here's an example output that I generated for my config repo: https://jakehamilton.github.io/config/ https://jakehamilton.github.io/config/
- viraptor 3y agoSome services have a very heavy meta description. I can't think of one for home-manager right now, but in nixos caddy config is not easy to read from source.
- soraminazuki 3y agoDon't projects using Nix modules typically list all the available options in their documentation? For example, https://nix-community.github.io/home-manager/options.xhtml https://nix-community.github.io/home-manager/options.xhtml I find it good practice to actually read the modules though. So personally, I think grepping is fine.