feat: auto upgrade ami

This commit is contained in:
buffet 2024-05-05 22:32:10 +02:00
parent bdd755bb4e
commit 56ee6255b4
2 changed files with 14 additions and 0 deletions

View file

@ -17,6 +17,7 @@
./forgejo.nix ./forgejo.nix
./murmur.nix ./murmur.nix
./msmtp.nix ./msmtp.nix
./upgrade.nix
./website.nix ./website.nix
../../users/maintainer ../../users/maintainer

13
hosts/ami/upgrade.nix Normal file
View file

@ -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";
};
};
}