system.autoUpgrade.allowReboot

Reboot the system into the new generation instead of a switch if the new generation uses a different kernel, kernel modules or initrd than the booted system. See rebootWindow for configuring the times at which a reboot is allowed.

Type
boolean
Default
false
Declared
<nixpkgs/nixos/modules/tasks/auto-upgrade.nix>