Open jjpe opened 1 month ago
I think I've found the issue:
# programs.zsh = {
# enable = true; # default shell on catalina
# other, less relevant zsh settings
# }
Because I'm using home-manager, I assumed that it would take over the entirety of zsh configuration. That appears not to be the case, and I don't recall seeing that in any documentation either.
So at the very least the docs are due for an update, with a LOUD warning that removing programs.zsh.enable = true;
from your flake, even if you're using home-manager, WILL break your NIx system.
Below is my flake. Installing it has broken all nix tooling completely on my MBP to the point that all
nix
CLI commands are now completely unavailable. I've done a factory reset because without nix I can't use nix to fix nix. After the factory reset, I tried to build my flake again, and again it COMPLETELY breaks nix! What's the fix here? And why does nix-darwin break my system in the first place?EDIT: I just found out that running
darwin-installer
makes the nix tooling available again. But even then, I can't really build my flake as-is without breaking the system. So a fix is still necessary.