NixOS Config Switching

4 Likes

Nice post! You might be interested in the specialisation option. See also this recent thread about it :slight_smile:

That looks really cool. It appears that it doesn’t show up correctly in the boot menu with systemd-boot though. I might poke at it a bit more as it would be a bit more convenient to build them both and just pick at boot.

You can also switch to a specialisation with

sudo /run/current-system/specialisation/foobar/bin/switch-to-configuration test