This commit is contained in:
Daniel Flanagan 2024-07-24 13:31:28 -05:00
parent fdcead0d7b
commit 14cd9f8006
3 changed files with 5 additions and 3 deletions

View file

@ -1,19 +1,19 @@
on: [push] on: [push]
jobs: jobs:
check: check:
runs-on: nix runs-on: beefcake
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Restore cached nix store - name: Load cached nix store
id: cache-nix-store id: cache-nix-store
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
with: with:
path: /nix/store path: /nix/store
key: ${{ runner.os }}-nix-store key: ${{ runner.os }}-nix-store
- name: Check - name: Check nix flake
run: | run: |
nix flake check nix flake check

View file

@ -162,6 +162,7 @@
text = '' text = ''
accept-flake-config = true accept-flake-config = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
build-users-group =
substituters = https://nix.h.lyte.dev https://cache.nixos.org/ substituters = https://nix.h.lyte.dev https://cache.nixos.org/
trusted-substituters = https://nix.h.lyte.dev https://cache.nixos.org/ trusted-substituters = https://nix.h.lyte.dev https://cache.nixos.org/
trusted-public-keys = h.lyte.dev:HeVWtne31ZG8iMf+c15VY3/Mky/4ufXlfTpT8+4Xbs0= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= trusted-public-keys = h.lyte.dev:HeVWtne31ZG8iMf+c15VY3/Mky/4ufXlfTpT8+4Xbs0= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

View file

@ -762,6 +762,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
# type ":host" does not depend on docker/podman/lxc # type ":host" does not depend on docker/podman/lxc
"podman" "podman"
"nix:docker://git.lyte.dev/lytedev/nix:latest" "nix:docker://git.lyte.dev/lytedev/nix:latest"
"beefcake:host"
]; ];
tokenFile = config.sops.secrets."forgejo-runner.env".path; tokenFile = config.sops.secrets."forgejo-runner.env".path;
hostPackages = with pkgs; [ hostPackages = with pkgs; [