Disable reboot for autoUpgrade

This commit is contained in:
Evie Litherland-Smith 2024-06-25 06:50:05 +01:00
parent f080742cb6
commit 0720bb4c21
2 changed files with 3 additions and 8 deletions

View file

@ -15,12 +15,5 @@
efi.canTouchEfiVariables = true;
};
users.mutableUsers = false;
system.autoUpgrade = {
operation = "switch";
allowReboot = true;
rebootWindow = {
lower = "01:00";
upper = "05:00";
};
};
system.autoUpgrade.operation = "switch";
}

View file

@ -32,10 +32,12 @@
autoUpgrade = {
enable = true;
persistent = true;
allowReboot = false;
flake = "git+${config.nix.registry.my-nixos.to.url}";
dates = "02:00";
randomizedDelaySec = "45min";
flags = [
"--accept-flake-config"
"--option"
"extra-binary-caches"
"https://nix.xenia.me.uk"