how about homes

This commit is contained in:
cy 2025-01-19 20:08:27 -05:00
parent a53a985158
commit 32e8d70d6f

View file

@ -10,7 +10,7 @@ jobs:
- github:cything/nixpkgs/fd06e41125350bc3db5628df49d3b84e4652a59d#lact - github:cything/nixpkgs/fd06e41125350bc3db5628df49d3b84e4652a59d#lact
os: os:
- ubuntu-latest - ubuntu-latest
- macos-latest # - macos-latest
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
continue-on-error: true continue-on-error: true
steps: steps:
@ -25,6 +25,7 @@ jobs:
cache: ${{ vars.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: nix build -L '${{ matrix.package }}' - run: nix build -L '${{ matrix.package }}'
build-machines: build-machines:
strategy: strategy:
matrix: matrix:
@ -32,10 +33,6 @@ jobs:
- chunk - chunk
- ytnix - ytnix
- titan - titan
home:
- yt@ytnix
- yt@chunk
os: os:
- ubuntu-latest - ubuntu-latest
# - macos-latest # - macos-latest
@ -56,5 +53,32 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- run: nix build -L .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel - run: nix build -L --accept-flake-config .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel
# - run: nix build -L .#homeConfigurations."${{ matrix.home }}".activationPackage
build-homes:
strategy:
matrix:
home:
- yt@ytnix
- yt@chunk
os:
- ubuntu-latest
# - macos-latest
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Attic cache
uses: ryanccn/attic-action@v0
with:
endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Sync repository
uses: actions/checkout@v4
with:
persist-credentials: false
- run: nix build -L --accept-flake-config .#homeConfigurations."${{ matrix.home }}".activationPackage