diff --git a/hosts/configuration_desktop.nix b/hosts/configuration_desktop.nix index 6a36942..164507a 100644 --- a/hosts/configuration_desktop.nix +++ b/hosts/configuration_desktop.nix @@ -190,17 +190,17 @@ }; system = { # NixOS settings -# autoUpgrade = { # Allow auto update -# enable = true; -# flake = "git+https://git.kabtop.de/Kabbone/nixos-config"; -# randomizedDelaySec = "5m"; -# allowReboot = true; -# reboot.Window = { -# lower = "02:00"; -# upper = "05:00"; -# }; -# channel = "https://nixos.org/channels/nixos-unstable"; -# }; + autoUpgrade = { # Allow auto update + enable = true; + flake = "git+https://git.kabtop.de/Kabbone/nixos-config"; + randomizedDelaySec = "5m"; + allowReboot = true; + rebootWindow = { + lower = "02:00"; + upper = "05:00"; + }; + channel = "https://nixos.org/channels/nixos-unstable"; + }; stateVersion = "23.05"; }; } diff --git a/hosts/configuration_server.nix b/hosts/configuration_server.nix index e989226..89922c8 100644 --- a/hosts/configuration_server.nix +++ b/hosts/configuration_server.nix @@ -143,7 +143,7 @@ flake = "git+https://git.kabtop.de/Kabbone/nixos-config"; randomizedDelaySec = "5m"; allowReboot = true; - reboot.Window = { + rebootWindow = { lower = "02:00"; upper = "05:00"; };