summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-01 12:16:14 -0400
committerseth <[email protected]>2023-04-01 12:16:14 -0400
commite9d5caa6b27728ba91b3fd62c36932d0fe251a42 (patch)
treedf0462d47ce91fd95efbbb380bb40d5ef4b4cde4
parent3051bbf7d52c921cb185e37605e266daee6e6d9d (diff)
add nix-community binary cache
-rw-r--r--flake.nix5
-rw-r--r--profiles/base/default.nix6
2 files changed, 11 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 63c66ed..6e58abb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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="
+ ];
};
};
}