I been away the last couple days and i heard there where some new zero day exploits. did a nix-channel update then nixxos-reubild switch –upgrade .. it failed and it filled up my hard drive with nothing..
I did a rollback and a garbage college with the -d option did a nix-channel –update then a nixos-rebuild switch –update not upgrade and now its trying to rebuild evertyhing again and its killing my root hard drive.
Share nix-channel --list and sudo nix-channel --list, as well as your configuration.
If you’re rebuilding locally, that means your derivations differ from what hydra is building. This can only happen if your channels are pointing at something they should not, or if you override something.
FYI the --upgrade/--update switches are almost exactly the same thing as running sudo nix-channel --update. The only difference is that they skip channels that don’t have certain metadata set.
Personally, I would not use those switches, and run the upgrade manually instead (like you already do).
Sounds like you’re either overriding something, or you’re building something that is currently failing to build upstream.
Can you tell us what the logs actually contain, and share your configuration?
It looks like you created several empty ones, they are working, you’re just adding too many blocks. There are some helpful docs here: Extended Syntax | Markdown Guide
Looks like you modified your kernel config. That will indeed cause you to rebuild the kernel, which yes, that’s one of the larger builds you could be doing.