diff options
-rw-r--r-- | .github/workflows/nix-build.yml | 11 | ||||
-rw-r--r-- | .github/workflows/nix-update-inputs.yml | 10 | ||||
-rw-r--r-- | .github/workflows/nix-update-wlroots.yml | 10 |
3 files changed, 4 insertions, 27 deletions
diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 7f630ecf..fb98f099 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -20,15 +20,8 @@ jobs: with: ref: ${{ github.ref }} - - name: Install Nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - uses: cachix/cachix-action@v12 with: name: hyprland diff --git a/.github/workflows/nix-update-inputs.yml b/.github/workflows/nix-update-inputs.yml index 2de1cf9f..f5df3f4f 100644 --- a/.github/workflows/nix-update-inputs.yml +++ b/.github/workflows/nix-update-inputs.yml @@ -14,15 +14,7 @@ jobs: with: token: ${{ secrets.PAT }} - - name: Install nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main - name: Update inputs run: nix/update-inputs.sh diff --git a/.github/workflows/nix-update-wlroots.yml b/.github/workflows/nix-update-wlroots.yml index 82bbc311..a0db9ef5 100644 --- a/.github/workflows/nix-update-wlroots.yml +++ b/.github/workflows/nix-update-wlroots.yml @@ -16,15 +16,7 @@ jobs: with: token: ${{ secrets.PAT }} - - name: Install nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main - name: Update lockfile run: nix/update-wlroots.sh |