Skip to content

Add cachix nix config #24

Add cachix nix config

Add cachix nix config #24

Workflow file for this run

name: "Binary Cache"
on:
pull_request:
push:
jobs:
binary-cache:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: "actions/checkout@v4"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: cachix/cachix-action@v14
with:
name: luke-channings
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build packages
run: |
export NIXPKGS_ALLOW_UNFREE=1
nix run --accept-flake-config --impure .#home-manager -- build --impure --flake .#luke
- name: Build dev shell
run: |
export NIXPKGS_ALLOW_UNFREE=1
nix develop --impure --accept-flake-config --accept-flake-config --build