rice/hosts/ami/upgrade.nix
buffet b3718bc47c
All checks were successful
/ check (push) Successful in 2m29s
fix: don't use accept-flake-config for nixos-rebuild
Apparently this is just not a flag.
Need to figure out what to do instead, but at the moment ami isn't using any extra caches anyways.
2024-06-03 08:48:43 +00:00

14 lines
299 B
Nix

_: {
system.autoUpgrade = {
enable = true;
flake = "https://buffets.kitchen/kitchen/rice/archive/main.tar.gz#ami";
flags = ["--option" "tarball-ttl" "0"];
dates = "minutely";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "04:00";
};
};
}