Allow disabling automatic reboots in module

This commit is contained in:
JuliusFreudenberger 2026-04-27 23:50:54 +02:00
parent 530695d941
commit 4881f836c9

View file

@ -1,6 +1,7 @@
{
inputs,
pkgs,
lib,
...
}: {
system.autoUpgrade = {
@ -12,7 +13,7 @@
flake = inputs.self.outPath;
dates = "02:00";
randomizedDelaySec = "45min";
allowReboot = true;
allowReboot = lib.mkDefault true;
rebootWindow = {
lower = "01:00";
upper = "05:00";