diff --git a/flake.lock b/flake.lock index 4a89585d..08799be9 100644 --- a/flake.lock +++ b/flake.lock @@ -318,11 +318,11 @@ ] }, "locked": { - "lastModified": 1720619751, - "narHash": "sha256-A6/7nXOW0UsrFu/IYqVmTMdkm5UjFJUDB4xpJvM5UvQ=", + "lastModified": 1720994659, + "narHash": "sha256-nN7sFe3tHG0xget7YYEErCx+kg4PqOnPAe8p8Pqg+ms=", "owner": "alyraffauf", "repo": "nixhw", - "rev": "5b22cdd5f53c88b98dc993c8d4578182aef8877f", + "rev": "d308ee6dfb9a46ab75b0e725b636f2c2846fc607", "type": "github" }, "original": { diff --git a/hosts/common.nix b/hosts/common.nix index 48a9dbab..daa78ccb 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -159,15 +159,17 @@ }; system.autoUpgrade = { - allowReboot = true; - dates = "04:00"; - randomizedDelaySec = "20min"; enable = true; + allowReboot = true; + dates = "02:00"; flake = "github:alyraffauf/nixcfg"; - operation = "boot"; + operation = "switch"; + persistent = true; + randomizedDelaySec = "30min"; + rebootWindow = { - lower = "02:00"; - upper = "05:00"; + lower = "04:00"; + upper = "06:00"; }; };