workflow: use nixpkgs#nixos-rebuild

This commit is contained in:
cy 2025-03-30 21:29:11 -04:00
parent f34eec7b17
commit 67f6032b67
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts

View file

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