diff --git a/hosts/ami/default.nix b/hosts/ami/default.nix index 08145d9..a03b0a3 100644 --- a/hosts/ami/default.nix +++ b/hosts/ami/default.nix @@ -17,6 +17,7 @@ ./forgejo.nix ./murmur.nix ./msmtp.nix + ./upgrade.nix ./website.nix ../../users/maintainer diff --git a/hosts/ami/upgrade.nix b/hosts/ami/upgrade.nix new file mode 100644 index 0000000..97ee3ac --- /dev/null +++ b/hosts/ami/upgrade.nix @@ -0,0 +1,13 @@ +_: { + system.autoUpgrade = { + enable = true; + flake = "https://buffets.kitchen/chef/rice/archive/main.tar.gz#ami"; + dates = "minutely"; + + allowReboot = true; + rebootWindow = { + lower = "02:00"; + upper = "04:00"; + }; + }; +}