--- name: Set up Nix description: | Sets up the Nix environment for wire, removing unnecessary bloat and installing Nix along with proper substituters being set runs: using: "composite" steps: - name: Generate nix.conf shell: bash id: config run: | { echo 'config<> "$GITHUB_OUTPUT" - uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 with: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: ${{ steps.config.outputs.config }} - name: Sanity check nix.conf if: ${{ runner.debug == '1' }} shell: bash run: cat /etc/nix/nix.conf