From 8015abaeb2c80a92dc0cf2607232b929709db6d8 Mon Sep 17 00:00:00 2001 From: emily Date: Sun, 25 Aug 2024 19:27:20 +0200 Subject: [PATCH] feat: Add nix binary cache --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index 65e7afd..477930a 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,15 @@ treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; }; + nixConfig = { + extra-substituters = [ + "https://cache.kyouma.net" + ]; + extra-trusted-public-keys = [ + "cache.kyouma.net:Frjwu4q1rnwE/MnSTmX9yx86GNA/z3p/oElGvucLiZg=" + ]; + }; + outputs = inputs@{ flake-parts, self, ... }: inputs.flake-parts.lib.mkFlake { inherit inputs self; } { systems = import inputs.systems;