Earlier quoted context omitted.
Declarative home environments are pretty great. Being able to reproduce your entire user setup is fantastic when you manage multiple machines or want to make future migrations. 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…
Where the "home config" in this case can be much more than just text files and, for example, can include the actual apps installed locally. So when you define your `.git/config` file, you can include `diff.external = ${pkgs.difft}` to refer to a locally installed version of app `difft` and home-manager does the right thing. You can also manage your user services through systemd or launchd.
Nix Home Manager Option Search
21–30 of 33 posts
Re: Nix Home Manager Option Search
#22I "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.
Home-Manager is a project that brings declarative user home directory management to Nix. You can have it set up dotfiles, user systemd services, etc. All the things to do with stuff in your home directory. 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 ava…
Re: Nix Home Manager Option Search
#23Earlier quoted context omitted.
Home-Manager is a project that brings declarative user home directory management to Nix. You can have it set up dotfiles, user systemd services, etc. All the things to do with stuff in your home directory. 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 ava…
Can this be used without using Nix at system level?
https://nix-community.github.io/home-manager/index.xhtml#sec...
Re: Nix Home Manager Option Search
#24I 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.
Re: Nix Home Manager Option Search
#25This is a good example of how nix is both a) far to complicated a tool chain and b) completely underdocumented for how complicated it is. 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 syst…
Re: Nix Home Manager Option Search
#26This is a good example of how nix is both a) far to complicated a tool chain and b) completely underdocumented for how complicated it is. 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 syst…
That's.... so strangely diametrically opposite to my experience with Nix. The language itself leaves some things to be desired, and of course no argument on the documentation, but as a build and packaging system I have never in my life experienced fewer headaches. Everything Just Works, every time. Granted, this is on a NixOS system -- I imagine trying to jam a standalone Home Manager install on top of a non-Nixos sy…
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.
Re: Nix Home Manager Option Search
#27This is a good example of how nix is both a) far to complicated a tool chain and b) completely underdocumented for how complicated it is. 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 syst…
Re: Nix Home Manager Option Search
#28This is a good example of how nix is both a) far to complicated a tool chain and b) completely underdocumented for how complicated it is. 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 syst…
A good example of what exactly? Because regarding (a), this is just a quick reference for options. Nothing more, nothing less. As for (b), you're literally looking at detailed documentation. It's almost as if you made up your mind before opening the link.
Re: Nix Home Manager Option Search
#29Is 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.
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.
Re: Nix Home Manager Option Search
#30This is a good example of how nix is both a) far to complicated a tool chain and b) completely underdocumented for how complicated it is. 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 syst…