feat: auto upgrade ami
This commit is contained in:
parent
bdd755bb4e
commit
56ee6255b4
2 changed files with 14 additions and 0 deletions
|
@ -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
13
hosts/ami/upgrade.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue