Sample Header Ad - 728x90

Is there a faster alternative than `nixos-rebuild switch` when updating services?

4 votes
2 answers
3231 views
Often I'm configuring a new service and having to run nixos-rebuild switch for the changes to take effect. For example setting up a configuration for a webserver. However the nixos-rebuild switch takes quite a few seconds to run. Is there a quicker alternative to rebuild just a subset of my Nixos configuration? I did notice a --fast parameter - however this does not seem to make much of any difference.
Asked by Chris Stryczynski (6603 rep)
Feb 16, 2019, 11:32 AM
Last activity: Jul 24, 2025, 07:07 PM