I’m a beginner/intermediate in NixOS and my flake rebuild takes about 25 seconds to be finished. Most of the time is evaluating derivation for some reason and it’s getting kinda frustrating having to wait when I want to add a package to my config. Has anyone the same problem or is it normal that it takes this long in Nix?
How often do you run nixos-rebuild --switch?
If you don’t run it regularly then you will likely be waiting for a few different packages to get updates. To fix this you can configure auto upgrades:https://nixos.wiki/wiki/Automatic_system_upgrades
It varies by day. Some days, I rebuild the system flake five times, while other weeks I don’t rebuild it at all. However, the time it takes to rebuild remains about the same.