Handle system with flake-parts. #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [ push, workflow_dispatch ] | |
env: | |
NIX_PATH: "nixpkgs=channel:nixos-unstable" | |
jobs: | |
test-build: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- name: create user settings | |
run: cp user-settings.template.nix user-settings.nix | |
- name: build the home configuration | |
# release-25.05 is broken | |
run: nix run home-manager/f5b12be834874f7661db4ced969a621ab2d57971 -- build -f home.nix |