From baa5ba2cebbc54ec4bc0c09ed50f89cb5b502dfe Mon Sep 17 00:00:00 2001 From: vdbewout Date: Thu, 23 May 2024 22:44:22 +0000 Subject: [PATCH] ci: add cache to flake --- .github/workflows/ci.yaml | 1 + flake.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5179a77..c38048a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,6 +43,7 @@ jobs: check: name: Check flake + needs: build runs-on: ubuntu-latest steps: diff --git a/flake.nix b/flake.nix index 1e70667..7052b4d 100644 --- a/flake.nix +++ b/flake.nix @@ -53,4 +53,9 @@ legacyPackages = forAllSystems (pkgs: import ./nix/pkgs { inherit pkgs; }); }; + + nixConfig = { + extra-substituters = [ "https://vdbe.cachix.org" ]; + extra-trusted-public-keys = [ "vdbe.cachix.org-1:ID9DIbnE6jHyJlQiwS7L7tFULJd1dsxt2ODAWE94nts=" ]; + }; }