The short version is, what do you do exactly to manage dotfiles and other config files without home-manager?
The longer version, with some context: basically I still use the same NixOS configuration file that I created 4 years ago after days of frustration going through the manuals and many blog posts. Wanted to understand it all, but in the end I settled with what I could cobble together the fastest. It still works, but want to go back to do it from scratch, and when going down the rabbit hole last night regarding “nixos dotfiles management”, the overwhelming majority of answers were: just use home manager or else you’ll be bound to re-create it. I have nothing against HM, but its documentation is confusing and I want to have a better understanding of NixOS anyway.
edit: Well, I guess I kind of answered my own question of what I should do:
- poke around in HM’s source
- improve the parts of its and the related Nix* docs that I found confusing with what I found out
: )
Also just documenting the sources I looked at:
- google nix when to use home manager
- google nixos without home manager
- reddit Can someone show me how to manage $HOME without home-manager?
- reddit Why isn’t home-manager a standard part of Nixos?
- reddit [Noob question] NixOS + Home Manager
- nixos.wiki Home Manager
- discourse: How can I declaratively install packages for myself without using home-manager?
- discourse Declarative package management for normal users
- discourse Difference between nix profiles and home-manager
- discourse Make home-manager not use
nix-env -i
for packages - blog Declarative management of dotfiles with Nix and Home Manager
- hacker news Imo Home Manager isn't really about dotfiles. It's a NixOS-like module system fo... | Hacker News