flake.lock: Update #1881
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: "cachix & check" | |
on: | |
push: | |
jobs: | |
build-hosts: | |
strategy: | |
matrix: | |
host: [ adrastea, metis ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build NixOS configuration | |
run: nix eval --raw .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
build-packages: | |
strategy: | |
matrix: | |
package: [ ddns, vscodium-web-host, vscodium-remote-host ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build Packages | |
run: nix build .#${{ matrix.package }} | |
build-home-configurations: | |
strategy: | |
matrix: | |
home: [ lyc@adrastea, lyc@metis, lyc@ict-malcon ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build home-manager configuration | |
run: nix build .#homeConfigurations."${{ matrix.home }}".activationPackage |