flake.lock: Update (#168) #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Check | |
run: nix flake check | |
dev-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Check | |
run: nix flake check ./dev | |
build-home-configuration: | |
strategy: | |
matrix: | |
include: | |
- username: terje | |
os: ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Build activation package | |
run: | | |
nix build --print-build-logs .#homeConfigurations.${{ matrix.username }}.activationPackage | |
build-nixos-configuration: | |
strategy: | |
matrix: | |
host: | |
- chameleon | |
- kong | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Build system | |
run: | | |
nix build --print-build-logs .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
build-iso: | |
strategy: | |
matrix: | |
name: | |
- installer-yubikey | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
skipPush: true | |
- name: Build ISO | |
run: | | |
GC_DONT_GC=1 nix build --print-build-logs .#nixosConfigurations.${{ matrix.name }}.config.system.build.isoImage |