diff --git a/.github/workflows/build-and-cache.yml b/.github/workflows/build-and-cache.yml index 79f49b2..319a7e3 100644 --- a/.github/workflows/build-and-cache.yml +++ b/.github/workflows/build-and-cache.yml @@ -56,7 +56,7 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - - run: nix build -L .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel + - run: nix build -L --accept-flake-config .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel build-homes: strategy: @@ -84,4 +84,4 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false - - run: nix build -L .#homeConfigurations."${{ matrix.home }}".activationPackage + - run: nix build -L --accept-flake-config .#homeConfigurations."${{ matrix.home }}".activationPackage