1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ lib, ... }: { name = "non-switchable-system"; meta.maintainers = with lib.maintainers; [ nikstur ]; nodes.machine = { system.switch.enable = false; }; testScript = '' machine.succeed("test ! -e /run/current-system/bin/switch-to-configuration") ''; }