rice/hosts/ami/upgrade.nix
buffet bdfddfa099
All checks were successful
/ check (pull_request) Successful in 2m31s
fix: supply --accept-flake-config to nix flake commands
2024-05-25 20:43:32 +02:00

14 lines
323 B
Nix

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