diff --git a/system/autoupgrade.nix b/system/autoupgrade.nix new file mode 100644 index 0000000..f50bb91 --- /dev/null +++ b/system/autoupgrade.nix @@ -0,0 +1,9 @@ +{ ... }: +{ + system.autoUpgrade = { + enable = true; + randomizedDelaySec = "1h"; + allowReboot = true; + flake = "git+https://git.t-juice.club/torjus/nixos-servers.git"; + }; +} diff --git a/system/default.nix b/system/default.nix index 97e95c7..123ef79 100644 --- a/system/default.nix +++ b/system/default.nix @@ -1,6 +1,7 @@ { ... }: { imports = [ + ./autoupgrade.nix ./monitoring ./packages.nix ./nix.nix