Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Extremely well, even supports passing arguments (`--HEAD`) through and integrates with services for casks too, so it can restart things like postgresql when homebrew updates it.

Having nix-darwin uninstall brews not declared in the flake makes me stay honest about keeping my configuration up to date as well, if I've just `brew install x` to try something it'll get removed next time I apply my config. Needs adding to the flake to keep it installed persistently, which in turn means my config tends to be up to date.



> Having nix-darwin uninstall brews not declared in the flake makes me stay honest about keeping my configuration up to date as well

Note that you don't need nix-darwin to achieve that. I keep my homebrew stuff separate from nix but still "keep myself honest" with this:

  HOMEBREW_NO_AUTO_UPDATE=1 /opt/homebrew/bin/brew bundle --file="$HOME/Brewfile" --cleanup --no-upgrade




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: