about summary refs log tree commit diff
path: root/modules/cachix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-10-09 16:54:34 +0900
committersefidel <contact@sefidel.net>2023-11-06 21:32:06 +0900
commit524ecd6f532bc8e4f17a32273b5dfcc017cbd287 (patch)
tree95d52dcdc21931703cadb56400e3492c9d1149f3 /modules/cachix
parent58dfae07aa10d3ca80e839beef60ba15a909bde2 (diff)
downloadnixrc-524ecd6f532bc8e4f17a32273b5dfcc017cbd287.tar.gz
nixrc-524ecd6f532bc8e4f17a32273b5dfcc017cbd287.zip
feat(modules/cachix): add nixrc
Diffstat (limited to 'modules/cachix')
-rw-r--r--modules/cachix/caches/nixrc.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/cachix/caches/nixrc.nix b/modules/cachix/caches/nixrc.nix
new file mode 100644
index 0000000..6444ae5
--- /dev/null
+++ b/modules/cachix/caches/nixrc.nix
@@ -0,0 +1,12 @@
+{ config, lib, ... }:
+
+{
+  nix.settings = {
+    substituters = [
+      "https://nixrc.cachix.org"
+    ];
+    trusted-public-keys = [
+      "nixrc.cachix.org-1:Hza//IlTj9UID+DaCXaM/cftfZzcXZ4zeW9XHLIcztU="
+    ];
+  };
+}