aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-23 14:50:19 -0300
committerEuAndreh <eu@euandre.org>2020-09-23 14:50:19 -0300
commit5bf4485a35834109deba6d64754290f7ae09fd46 (patch)
tree824a68a7884da889aaa918657b455571fa11281b
parentSwitch TLD for iteration (diff)
downloadtoph-5bf4485a35834109deba6d64754290f7ae09fd46.tar.gz
toph-5bf4485a35834109deba6d64754290f7ae09fd46.tar.xz
Enable autoUpgrade with reboots
-rw-r--r--vps-configuration.nix8
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;
+ };
+ };
}