Disable reboot for autoUpgrade
This commit is contained in:
parent
f080742cb6
commit
0720bb4c21
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue