From 14cd9f800669e1905344a67a704ecd80eceb9a8a Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 24 Jul 2024 13:31:28 -0500 Subject: [PATCH] Tweaks --- .forgejo/workflows/nix.yaml | 6 +++--- flake.nix | 1 + nixos/beefcake.nix | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/nix.yaml b/.forgejo/workflows/nix.yaml index 39ddca3..bd37ba3 100644 --- a/.forgejo/workflows/nix.yaml +++ b/.forgejo/workflows/nix.yaml @@ -1,19 +1,19 @@ on: [push] jobs: check: - runs-on: nix + runs-on: beefcake steps: - name: Checkout uses: actions/checkout@v3 - - name: Restore cached nix store + - name: Load cached nix store id: cache-nix-store uses: actions/cache/restore@v4 with: path: /nix/store key: ${{ runner.os }}-nix-store - - name: Check + - name: Check nix flake run: | nix flake check diff --git a/flake.nix b/flake.nix index 820ac34..8b02b4a 100644 --- a/flake.nix +++ b/flake.nix @@ -162,6 +162,7 @@ text = '' accept-flake-config = true experimental-features = nix-command flakes + build-users-group = 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= diff --git a/nixos/beefcake.nix b/nixos/beefcake.nix index 8a33be8..33037a6 100644 --- a/nixos/beefcake.nix +++ b/nixos/beefcake.nix @@ -762,6 +762,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 # type ":host" does not depend on docker/podman/lxc "podman" "nix:docker://git.lyte.dev/lytedev/nix:latest" + "beefcake:host" ]; tokenFile = config.sops.secrets."forgejo-runner.env".path; hostPackages = with pkgs; [