vscode stuff and try to make treefmt not suck

This commit is contained in:
cy 2025-03-26 10:43:56 -04:00
parent 8c921fc1ab
commit b5d3358f52
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 70 additions and 9 deletions

View file

@ -3,6 +3,7 @@ on:
workflow_dispatch:
push:
pull_request:
env:
ATTIC_TOKEN: ${{ secrets.ATTIC_TOKEN }}
NIX_CONFIG: |
@ -13,6 +14,7 @@ env:
accept-flake-config = true
system-features = nixos-test benchmark big-parallel kvm
TERM: ansi
jobs:
build-machines:
strategy:
@ -36,16 +38,20 @@ jobs:
remove-codeql: 'true'
remove-docker-images: 'true'
build-mount-path: /nix
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Sync repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: setup attic
run: |
nix profile install github:zhaofengli/attic
attic login cy7 https://cache.cy7.sh "$ATTIC_TOKEN"
- name: build
run: |
package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"