diff options
| author | seth <[email protected]> | 2023-04-01 12:16:14 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-01 12:16:14 -0400 |
| commit | e9d5caa6b27728ba91b3fd62c36932d0fe251a42 (patch) | |
| tree | df0462d47ce91fd95efbbb380bb40d5ef4b4cde4 | |
| parent | 3051bbf7d52c921cb185e37605e266daee6e6d9d (diff) | |
add nix-community binary cache
| -rw-r--r-- | flake.nix | 5 | ||||
| -rw-r--r-- | profiles/base/default.nix | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -1,6 +1,11 @@ { description = "getchoo's flake for system configurations"; + nixConfig = { + extra-substituters = ["https://nix-community.cachix.org"]; + extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="]; + }; + inputs = { nixpkgsUnstable.url = "nixpkgs/nixos-unstable"; agenix = { diff --git a/profiles/base/default.nix b/profiles/base/default.nix index dbaabe8..1b84806 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -15,6 +15,12 @@ auto-optimise-store = true; warn-dirty = false; experimental-features = ["nix-command" "flakes"]; + trusted-substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; }; }; } |
