Compare commits

..

1 commit

Author SHA1 Message Date
1626a1c311
Build each host
All checks were successful
Test / tests (push) Has been skipped
Build / Determining hosts to build (pull_request) Successful in 9s
Test / tests (pull_request) Has been skipped
Build / build (pull_request) Successful in 1s
2026-02-08 11:57:38 +01:00

View file

@ -16,8 +16,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- name: "List hosts"
id: hosts
run: |
nix eval .#nixosConfigurations --apply builtins.attrNames --json
run: nix eval .#nixosConfigurations --apply builtins.attrNames --json
outputs:
hosts: ${{ steps.hosts.outputs }}
@ -31,11 +30,5 @@ jobs:
hostname: ${{ fromJSON(needs.determine_hosts.outputs.hosts) }}
steps:
- name: "Define host"
env:
hostname: ${{ matrix.hostname }}
run: |
echo "${hostname}"
- run: |
nixos-rebuild build --flake ".#${hostname}"
- run: echo "${{ matrix.hostname }}"