fix: supply --accept-flake-config to nix flake commands #13

Merged
chef merged 1 commit from accept-flake-config into main 2024-05-25 19:16:37 +00:00
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -2,7 +2,7 @@ _: {
system.autoUpgrade = { system.autoUpgrade = {
enable = true; enable = true;
flake = "https://buffets.kitchen/kitchen/rice/archive/main.tar.gz#ami"; 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"; dates = "minutely";
allowReboot = true; allowReboot = true;