dev #2

Open
tdpeuter wants to merge 43 commits from dev into main
Showing only changes of commit 4103c488b3 - Show all commits

View file

@ -16,7 +16,8 @@ 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 }}
@ -30,5 +31,11 @@ jobs:
hostname: ${{ fromJSON(needs.determine_hosts.outputs.hosts) }}
steps:
- run: echo "${{ matrix.hostname }}"
- name: "Define host"
env:
hostname: ${{ matrix.hostname }}
run: |
echo "${hostname}"
- run: |
nixos-rebuild build --flake ".#${hostname}"