Update Nix build commands in GitHub Actions workflow to use specific configurations for NixOS and Darwin.

This commit is contained in:
Tyler Mayoff 2025-06-20 12:23:57 -04:00
parent 5fff62c435
commit 91dabe4221
No known key found for this signature in database
GPG key ID: FAE8714D991290A9

View file

@ -41,7 +41,7 @@ jobs:
with:
packages: nh
script: |
nh os build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1
nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}}.system -- --cores 1 -j1
- uses: workflow/nix-shell-action@v3
if: runner.os == 'macOS'
@ -49,4 +49,4 @@ jobs:
with:
packages: nh
script: |
nh darwin build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1
nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}}.system -- --cores 1 -j1