3 ms·
Oh and as long as you're being opinionated about installing and making it easy for newcomers, have you considered including an option to install home-manager an
by bokchoi 4y ago
Oh and as long as you're being opinionated about installing and making it easy for newcomers, have you considered including an option to install home-manager and nix-darwin? My uneducated guess is they are typically used by folks on OSX.
- pxc 4y agoSetting those up is the hardest thing someone who knows nothing about Nix might otherwise want to do right at the beginning. Nix-Darwin OOTB would be absolutely killer imo, since it provides such a great experience once it's in place.
- JamesSwift 4y agoHave you used home-manager as well? Would be interested to hear your thoughts on the two, and what specifically makes nix-darwin so nice overall. I haven't used it before, just home-manager.
- pxc 4y agoI've played with Home Manager, but I've never really used it long term as much as I have Nix-Darwin. (I'm not super interested in HM's dotfile management features, since I already have tools I like for that.) What's nice about Nix-Darwin for me is mainly how NixOS-like it is. I like keeping its config under /etc and treating systems using it like NixOS. There are a few modules that I think are pretty impressive and atypical for the Nix world, like the Homebrew module. I'm not sure if HM has something comparable.
- JamesSwift 4y agoHomebrew is a big gap in home-manager. In fact, my current setup (and the most common I think) is to use homebrew for casks, home-manager for everything else (and I also do some Brewfile management with home-manager).
- pxc 4y agoYeah, that's what I like about the Homebrew module for Nix-Darwin: it lets you declare your cask usage in your Nix config. I agree that brew's cask support is generally worth using even if the rest of brew is best avoided in favor of Nix or other package managers.