top | item 28820766

(no title)

Apaec | 4 years ago

Home Manager always seems like a unnecessary layer though. Why is it needed if you already control everything with NixOS?

discuss

order

opan|4 years ago

It's for the user packages. This way you can keep the system profile lean for fast updates of the kernel and such, and then update firefox and other things separately. With Guix they have had manifests for a while, which are integrated into Guix proper and are like the package half of Home Manager (not the config stuff). I only keep a handful of things installed as system packages, and then I have probably 100 or more things in my manifest.scm file. As my user I apply this manifest and it will install or remove things as needed. No root privileges needed.

Apaec|4 years ago

> This way you can keep the system profile lean for fast updates of the kernel and such, and then update firefox and other things separately

That makes a lot of sense. Right now a nixos-rebuild is really slow for me as I have a big configuration.nix file. I guess Home Manager could help in this case, will dig into it.

suchar|4 years ago

My primary use-case for Home Manager is dotfiles management. This way I can keep them consistent across all machines and development containers (managed with NixOS declarative containers, so Home Manager configuration is applied on container startup).

soraminazuki|4 years ago

With Home Manager, you can share configuration between NixOS, non NixOS Linux distros, and macOS.