system.autoUpgrade.allowReboot

NixOS option

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 in: nixos/modules/tasks/auto-upgrade.nixView source on NixOS/nixpkgs →