diff --git a/hosts/configuration_desktop.nix b/hosts/configuration_desktop.nix index f76d6cc..dc89e8b 100644 --- a/hosts/configuration_desktop.nix +++ b/hosts/configuration_desktop.nix @@ -190,10 +190,17 @@ }; system = { # NixOS settings -# autoUpgrade = { # Allow auto update -# enable = true; + 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"; -# }; + }; stateVersion = "23.05"; }; } diff --git a/hosts/configuration_server.nix b/hosts/configuration_server.nix index 0dfa739..e989226 100644 --- a/hosts/configuration_server.nix +++ b/hosts/configuration_server.nix @@ -138,10 +138,16 @@ }; system = { # NixOS settings -# autoUpgrade = { # Allow auto update -# enable = true; -# channel = "https://nixos.org/channels/nixos-unstable"; -# }; - stateVersion = "22.05"; + 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"; + }; + }; + stateVersion = "23.05"; }; }