Also, no more docker! docker on macOS was always a pain.
I made it easy for others to try if you’re interested, almost 800 stars now:
Maybe mixing sudo / user permissions during initial installation broke it. Nix is pretty unforgiving with not great error messages.
So.. that being said, you can setup home-manager to install and configure things from git. Using flakes makes it more reproducible.
These means that you can just git clone and 'home-manager switch' and setup everything from scratch.
I do this on both mac and linux machines (ubuntu 20) and quite often use the same nix expressions.
I'd highly recommend that workflow, since it's git, you can do anything you want. Go back a month via git on a branch and make that machine exist again.
It really makes managing software fearless
Since when I'm editing a text file to update a package, I have to look for the latest version separately and copy/paste it into my editor. If I somehow mess it up the file is broken, while no harm is done I still find this workflow a bit brittle.
If there are home-manager commands I missed to do this, I'd be eager to give it a try. That kind of workflow would remind me of running `npm upgrade pkg` and have it reflected on a `package.json` file.
> This is a game-changer, you don’t have to pollute your system to run a one-off command, or you can try a package out before committing to installing it.
Is there a way to run the command isolated from the rest of the system? Because while this is nice it will still leave behind whatever configuration files / caches the program created on start up.
It's tricky because said program probably needs to access the original $HOME
https://daiderd.com/nix-darwin/manual/index.html#opt-homebre...