From 99f55ff4fff1314093675dee909ba81d0fb7b057 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 18 Oct 2019 00:04:03 +0200 Subject: [PATCH] Enable auto-upgrade and allow reboot if necessary --- configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index 463b9f0..b992747 100644 --- a/configuration.nix +++ b/configuration.nix @@ -63,6 +63,10 @@ time.timeZone = "Europe/Brussels"; services.timesyncd.enable = true; + # Auto-upgrade the system and reboot if needed + system.autoUpgrade.enable = true; + system.autoUpgrade.allowReboot = true; + # Import other configuration modules }