From af0df58d680a9cefd9da06ab1230103465446d2d Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 4 Sep 2023 08:54:47 +0100 Subject: [PATCH] Enable autoUpgrade without reboot --- hosts/Ronin/configuration.nix | 4 ++++ hosts/Vanguard/configuration.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/hosts/Ronin/configuration.nix b/hosts/Ronin/configuration.nix index f1c27f27..4f7ffae7 100644 --- a/hosts/Ronin/configuration.nix +++ b/hosts/Ronin/configuration.nix @@ -25,6 +25,10 @@ ipcp-accept-remote ''; programs.light.enable = true; + system.autoUpgrade = { + enable = true; + allowReboot = false; + }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions diff --git a/hosts/Vanguard/configuration.nix b/hosts/Vanguard/configuration.nix index 79829a9b..5307c81a 100644 --- a/hosts/Vanguard/configuration.nix +++ b/hosts/Vanguard/configuration.nix @@ -23,6 +23,10 @@ remotePlay.openFirewall = true; dedicatedServer.openFirewall = true; }; + system.autoUpgrade = { + enable = true; + allowReboot = false; + }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions