fix: supply --accept-flake-config to nix flake commands
All checks were successful
/ check (pull_request) Successful in 2m31s

This commit is contained in:
buffet 2024-05-25 20:43:32 +02:00
parent 717c25ea9b
commit bdfddfa099
2 changed files with 2 additions and 2 deletions

View file

@ -21,4 +21,4 @@ jobs:
with:
name: kitchen
authToken: '${{ secrets.CACHIX_TOKEN }}'
- run: nix flake check
- run: nix flake check --accept-flake-config

View file

@ -2,7 +2,7 @@ _: {
system.autoUpgrade = {
enable = true;
flake = "https://buffets.kitchen/kitchen/rice/archive/main.tar.gz#ami";
flags = ["--option" "tarball-ttl" "0"];
flags = ["--option" "tarball-ttl" "0" "--accept-flake-config"];
dates = "minutely";
allowReboot = true;