From e499b952b724b4f12c35d0e3072f43c5e5fc27fb Mon Sep 17 00:00:00 2001 From: moons-14 Date: Thu, 28 May 2026 10:37:04 +0900 Subject: [PATCH] chore: add nixConfig with cachix substituters and trusted public keys --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/flake.nix b/flake.nix index 1176a70..ec31423 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,20 @@ systems.url = "github:nix-systems/default-linux"; }; + nixConfig = { + extra-substituters = [ + "https://cache.nixos.org" + "https://nix-community.cachix.org" + "https://moons-dotfiles.cachix.org" + ]; + + extra-trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "moons-dotfiles.cachix.org-1:WHoroKiNScG2/dpxHHL1I0qVmvuQhJbEAP+DS2j9Rr0=" + ]; + }; + outputs = inputs@{ flake-parts,