From 5bf4485a35834109deba6d64754290f7ae09fd46 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 23 Sep 2020 14:50:19 -0300 Subject: Enable autoUpgrade with reboots --- vps-configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'vps-configuration.nix') 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; + }; + }; } -- cgit v1.2.3