From e529a4814f56f65ba132f22d747fa1106fd22c1b Mon Sep 17 00:00:00 2001 From: Nicholas McDaniel Date: Sat, 7 Feb 2026 23:34:11 -0500 Subject: [PATCH] Enable automatic updates --- configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/configuration.nix b/configuration.nix index b2e2088..7a8f69f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,6 +19,23 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; + system.autoUpgrade = { + enable = true; + flake = inputs.self.outPath; + flags = [ + "-L" + ]; + + allowReboot = true; + rebootWindow = { + lower = "03:00"; + upper = "05:00"; + }; + + dates = "02:00"; + randomizedDelaySec = "45min"; + }; + system.stateVersion = "25.11"; nixpkgs.hostPlatform = "x86_64-linux"; hardware.enableRedistributableFirmware = true;