diff options
-rw-r--r-- | vps-configuration.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vps-configuration.nix b/vps-configuration.nix index 4dacc7a..978bbd0 100644 --- a/vps-configuration.nix +++ b/vps-configuration.nix @@ -290,5 +290,11 @@ in { }; }; - system.stateVersion = "20.03"; + system = { + stateVersion = "20.03"; + autoUpgrade = { + enable = true; + allowReboot = true; + }; + }; } |