diff --git a/flake.nix b/flake.nix index 61ac810..3c97a70 100644 --- a/flake.nix +++ b/flake.nix @@ -155,6 +155,13 @@ allowed-users = [ "root" myUsername "@nixbld" ]; auto-optimise-store = true; # https://daiderd.com/nix-darwin/manual/index.html#opt-nix.settings.auto-optimise-store + + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; }; extraOptions = '' @@ -538,4 +545,12 @@ }; } ); + nixConfig = { + extra-substituters = [ + "https://nix-community.cachix.org" + ]; + extra-trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; }