sofka 0.5.1

A Kubernetes TUI, reimagined in Rust
name: Setup Nix
description: Install Nix with flakes enabled and wire up the nkl-sofka Cachix cache

runs:
  using: composite
  steps:
    - name: Install Nix
      uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31.10.6
      with:
        nix_path: nixpkgs=channel:nixos-unstable
        extra_nix_config: |
          experimental-features = nix-command flakes
          access-tokens = github.com=${{ github.token }}
      env:
        NIX_FIRST_BUILD_UID: 400

    - name: Setup Cachix
      uses: cachix/cachix-action@5f2d7c5294214f71b873db4b969586b980625e71 # v17
      with:
        name: nkl-sofka
        authToken: ${{ env.CACHIX_AUTH_TOKEN }}
        skipPush: ${{ env.CACHIX_AUTH_TOKEN == '' }}