Disable reboot for autoUpgrade
This commit is contained in:
parent
f080742cb6
commit
0720bb4c21
|
@ -15,12 +15,5 @@
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade.operation = "switch";
|
||||||
operation = "switch";
|
|
||||||
allowReboot = true;
|
|
||||||
rebootWindow = {
|
|
||||||
lower = "01:00";
|
|
||||||
upper = "05:00";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,12 @@
|
||||||
autoUpgrade = {
|
autoUpgrade = {
|
||||||
enable = true;
|
enable = true;
|
||||||
persistent = true;
|
persistent = true;
|
||||||
|
allowReboot = false;
|
||||||
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
flake = "git+${config.nix.registry.my-nixos.to.url}";
|
||||||
dates = "02:00";
|
dates = "02:00";
|
||||||
randomizedDelaySec = "45min";
|
randomizedDelaySec = "45min";
|
||||||
flags = [
|
flags = [
|
||||||
|
"--accept-flake-config"
|
||||||
"--option"
|
"--option"
|
||||||
"extra-binary-caches"
|
"extra-binary-caches"
|
||||||
"https://nix.xenia.me.uk"
|
"https://nix.xenia.me.uk"
|
||||||
|
|
Loading…
Reference in a new issue