Nix Home Manager Option Search
mipmip.github.io
mipmip.github.io
I swear until I ripped nix off my systems, every time I had to do anything, even a simple home manager update, something would break in an unexplainable way and id have to dig for hours to figure it out, sometimes to no avail like with their libc libraries that end up breaking system compatability with no workaround.
Given that, this could be good for Home manager because the more they can improve documentation and disassociate their good product with the rats mess of an ecosystem it lives on, the better.
All in all I think nix falls into the category of great idea in theory, but the implementation is so lacking in ergonomics and ease of use that I don't see how it could be anything other than a niche build system without major UX updates.
https://nix-community.github.io/home-manager/options.xhtml
Or alternatively:
man home-configuration.nix
The official documentation does have examples.Of course everybody has 30 minutes to spare to try to understand what it is.
https://drakerossman.com/blog/how-to-add-home-manager-to-nix...
The documentation for Home-Manager that is generated is an extremely large html file with every option listed. It is not easy to read or discover options in. The linked tool provides a search field to query the available options for Home-Manager, making it much easier to digest. This is similar to the NixOS Options search tool which does the same job of providing search for NixOS options.
I run NixOS and use Home-Manager as well. This lets me define my entire system in addition to my user home contents declaratively. So with this configuration I can apply NixOS & Home-Manager to get the same results anywhere.
Here is an example of my Home-Manager configuration: https://github.com/jakehamilton/config/blob/a3da20eeab74a50a...
In this example I configure Git. This gets written to my user home's config directory.
If you ever use more than one machine, likely you'll want the same configuration available on all those machines.. so you'll want some way to copy them to a new machine.
Some dotfile managers are quite simple, like dotbot. https://github.com/anishathalye/dotbot
Home Manager from the Nix community is a bit more sophisticated. It allows for writing configurations in the Nix language, which is nice if you know/like Nix. (Nix is a powerful/expressive package manager. Nix is to apt-get what vim is to notepad).
https://nix-community.github.io/home-manager/index.xhtml#sec...
Then use the search function of the pager.
works for home-manager
Here's an example output that I generated for my config repo: https://jakehamilton.github.io/config/
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.