Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/42willow/flake. my system configurations ^-^ 42willow.github.io/flake
home-manager nix nixos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475name: Diff Nix Flake
on: pull_request:
permissions: contents: read pull-requests: write actions: read
jobs: diff: name: ${{ matrix.host }} (${{ matrix.system }}) runs-on: ${{ matrix.os }}
strategy: fail-fast: false matrix: include: - os: ubuntu-latest system: x86_64-linux target_attr: nixosConfigurations host: earthy - os: ubuntu-24.04-arm system: aarch64-linux target_attr: nixosConfigurations host: anemone - os: ubuntu-latest system: x86_64-linux target_attr: nixosConfigurations host: lily - os: ubuntu-latest system: x86_64-linux target_attr: nixosConfigurations host: zinnia - os: macos-latest system: aarch64-darwin target_attr: darwinConfigurations host: starling
steps: - name: Checkout uses: actions/checkout@v6 with: persist-credentials: false
- name: Install Nix uses: cachix/install-nix-action@v31 with: github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: Mic92/hestia@v1 with: version: v1
- name: Generate Nix Diff uses: natsukium/nix-diff-action@v1.1.1 with: mode: diff-only attributes: | - displayName: "${{ matrix.host }} (${{ matrix.system }})" attribute: "${{ matrix.target_attr }}.${{ matrix.host }}.config.system.build.toplevel"
comment: name: Post Comment needs: diff if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - name: Aggregate and Post Diffs uses: 42willow/nix-diff-action@main with: mode: comment-only github-token: ${{ secrets.GITHUB_TOKEN }}