4 ms·
> Seems like I should generally prefer a multi-user install? Does nix-darwin play well with that? On my macOS computer, I don't have a multi-user install. Neve
by rgoulter 5y ago
> Seems like I should generally prefer a multi-user install? Does nix-darwin play well with that?
On my macOS computer, I don't have a multi-user install. Never had issues with it (but I also only just use one user account for everything).
Just tried running the nix-darwin installer, and it sets up some extra users as part of that anyway.
> Am I supposed to `sudo -i nix-channel --add / update` or not use sudo? Is unstable the generally recommended channel? Do I use sudo with nix-darwin, since it's supposed to be kind of like NixOS / system-wide?
Once you've got nix installed, in general you don't want to "sudo nix ...". Unstable is fine; but if things break, it's easy to rollback changes with Nix, so that you can use the versions which worked.
There's no need to start out with wrangling with nix-darwin. Just starting out with "nix-env --install --attr nixpkgs.<whatever>" will be closest to how homebrew is used.