From 14de7f41c417f2e54377a86cfda86d9562109bd2 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 29 Mar 2024 07:41:04 -0400 Subject: [PATCH] systemConfig: set autoUpgrades to 4AM --- nixosModules/systemConfig/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixosModules/systemConfig/default.nix b/nixosModules/systemConfig/default.nix index f18952d9..8b132fd9 100644 --- a/nixosModules/systemConfig/default.nix +++ b/nixosModules/systemConfig/default.nix @@ -35,7 +35,7 @@ }; services.logind.extraConfig = '' - # don't shutdown when power button is short-pressed + # Don't shutdown when power button is short-pressed HandlePowerKey=suspend HandlePowerKeyLongPress=poweroff ''; @@ -47,13 +47,13 @@ system.autoUpgrade = { allowReboot = true; - dates = "daily"; + dates = "04:00"; enable = true; flake = "github:alyraffauf/nixcfg"; operation = "boot"; rebootWindow = { lower = "02:00"; - upper = "05:00"; + upper = "06:00"; }; };