workflow: use nixpkgs#nixos-rebuild

This commit is contained in:
cy 2025-03-30 21:29:11 -04:00
parent 4f4dc67b05
commit 3e93cbaf73
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

@ -67,8 +67,9 @@ jobs:
- name: build
run: |
package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
nix build -L "$package"
# package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
# nix build -L "$package"
nix run nixpkgs#nixos-rebuild build -- --flake ".#${{ matrix.machine }}"
- name: cache
# https://stackoverflow.com/a/58859404