From 7c519670d838d91443a90fab3cf07fdbf08edba4 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 12 Mar 2024 21:52:11 -0400 Subject: [PATCH] standardized autoupgrade settings --- hosts/mauville/default.nix | 6 ------ system/default.nix | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index dd2b3b85..65c8ec26 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -15,12 +15,6 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "mauville"; # Define your hostname. - - system.autoUpgrade = { - allowReboot = lib.mkForce true; - dates = lib.mkForce "weekly"; - operation = lib.mkForce "boot"; - }; services.xserver.displayManager.gdm.autoSuspend = false; diff --git a/system/default.nix b/system/default.nix index 525af396..e994d5a9 100644 --- a/system/default.nix +++ b/system/default.nix @@ -40,10 +40,10 @@ system.autoUpgrade = { enable = true; - allowReboot = false; + allowReboot = true; flake = "github:alyraffauf/nixcfg"; dates = "daily"; - operation = "switch"; + operation = "boot"; }; # Delete generations older than 7 days.