diff --git a/.github/workflows/check-deploy.yml b/.github/workflows/check-deploy.yml index 11c4e20..3f0b87b 100644 --- a/.github/workflows/check-deploy.yml +++ b/.github/workflows/check-deploy.yml @@ -8,7 +8,6 @@ jobs: runs-on: ubuntu-latest outputs: checks: ${{ steps.checks.outputs.checks }} - hosts: ${{ steps.hosts.outputs.hosts }} steps: - uses: actions/checkout@v5 - uses: cachix/install-nix-action@v31 @@ -18,10 +17,6 @@ jobs: run: | checks=$(nix flake show --json | jq -c '.checks."x86_64-linux" | keys') printf "checks=%s" "$checks" >> "$GITHUB_OUTPUT" - - id: hosts - run: | - hosts=$(nix flake show --json | jq -c '.nixosConfigurations | keys') - printf "hosts=%s" "$hosts" >> "$GITHUB_OUTPUT" build-check: needs: generate-matrix runs-on: ubuntu-latest @@ -40,24 +35,6 @@ jobs: authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" useDaemon: false - run: nix build .#checks.x86_64-linux.${{ matrix.check }} --print-build-logs - build-host: - needs: generate-matrix - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - host: ${{ fromJson(needs.generate-matrix.outputs.hosts) }} - steps: - - uses: actions/checkout@v5 - - uses: cachix/install-nix-action@v31 - with: - extra_nix_config: experimental-features = nix-command flakes pipe-operators - - uses: cachix/cachix-action@v15 - with: - name: sebastian-stork - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - useDaemon: false - - run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel --print-build-logs flake-check: needs: build-check runs-on: ubuntu-latest @@ -72,7 +49,7 @@ jobs: authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - run: nix flake check --keep-going --print-build-logs deploy: - needs: [build-host, flake-check] + needs: flake-check runs-on: ubuntu-latest permissions: contents: write diff --git a/profiles/core.nix b/profiles/core.nix index 7690326..6fb7510 100644 --- a/profiles/core.nix +++ b/profiles/core.nix @@ -41,11 +41,6 @@ min-free = 4 * 1024 * 1024 * 1024; max-free = 6 * 1024 * 1024 * 1024; - - substituters = [ "https://sebastian-stork.cachix.org" ]; - trusted-public-keys = [ - "sebastian-stork.cachix.org-1:PAgwmtq5BF/UlUoXdBC2sX2EKZQ2vCjo3iGySujbaME=" - ]; }; };