AutoUpdate : Switch instead of boot.

This commit is contained in:
Dmitry Voronin 2024-03-06 04:01:54 +03:00
parent e7e7fea6ac
commit d37abd9650

View file

@ -1,10 +1,10 @@
{ pkgs, inputs, lib, config, ... }: { { ... }: {
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
allowReboot = false; allowReboot = false;
dates = "03:00"; dates = "03:00";
flake = "git+https://git.voronind.com/voronind/nixos.git"; flake = "git+https://git.voronind.com/voronind/nixos.git";
operation = "boot"; operation = "switch";
persistent = true; persistent = true;
}; };
} }