News for hackers. Stuff that matters.
Re:M4 Mac mini's efficiency by steeleduncan on Tuesday November 12, 2024 @05:49PM (#42120680)
Nix works well on mac, very similar to Nix/Linux for the most part. There are some missing packages, but the common ones tend to be fine. Its worth using the Determinate Systems installer to avoid reinstalling Nix on every macOS update though.

Nix-darwin is good, and I use it, but it is nowhere close to NixOS. I think there are some options I've set through it that macOS keeps overriding, so the declarative configuration drifts from the real one eventually

I think the only real issue with Nix on macOS is that Nix can eat through storage quite quickly, and storage upgrades are pretty expensive on Macs. This might push the balance back to an fanless ryzen build

Re:M4 Mac mini's efficiency by nicce on Tuesday November 12, 2024 @05:56PM (#42120784)
> I think the only real issue with Nix on macOS is that Nix can eat through storage quite quickly, and storage upgrades are pretty expensive on Macs. This might push the balance back to an fanless ryzen build

Only if you want to be able to roll back multiple versions. Otherwise, I think it is fine.

Re:M4 Mac mini's efficiency by lloeki on Wednesday November 13, 2024 @03:39AM (#42124046)
Indeed I've been liberally using nix-collect-garbage -d after every darwin-rebuild switch without issues for years.
Re:M4 Mac mini's efficiency by lloeki on Wednesday November 13, 2024 @03:36AM (#42124029)
> Its worth using the Determinate Systems installer to avoid reinstalling Nix on every macOS update though.

I've had Nix installed from the traditional installer since the very first M1 and never had to reinstall nixpkgs across OS updates.

Re:M4 Mac mini's efficiency by pxc on Wednesday November 13, 2024 @04:21AM (#42124368)
I guess some people have been addressing the clobbering of /etc/bashrc with full reinstalls?