about summary refs log tree commit diff
path: root/nixos/modules/cachix/caches/nix-community.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-31 09:22:30 +0900
committersefidel <contact@sefidel.net>2022-01-31 09:22:30 +0900
commit120397f4539239519d100d507dd5a51cc6be0330 (patch)
tree2c66ac8caece625b027c554910fe83ac8fda8e07 /nixos/modules/cachix/caches/nix-community.nix
parent74c5c6f717c47f92a85b46689913bb6889a9c42e (diff)
downloadnixrc-120397f4539239519d100d507dd5a51cc6be0330.tar.gz
nixrc-120397f4539239519d100d507dd5a51cc6be0330.zip
nixos: use new nix options
Diffstat (limited to 'nixos/modules/cachix/caches/nix-community.nix')
-rw-r--r--nixos/modules/cachix/caches/nix-community.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/cachix/caches/nix-community.nix b/nixos/modules/cachix/caches/nix-community.nix
index 2b4c408..d323939 100644
--- a/nixos/modules/cachix/caches/nix-community.nix
+++ b/nixos/modules/cachix/caches/nix-community.nix
@@ -1,11 +1,11 @@
 { config, lib, ... }:
 
 {
-  nix = {
-    binaryCaches = [
+  nix.settings = {
+    substituters = [
       "https://nix-community.cachix.org"
     ];
-    binaryCachePublicKeys = [
+    trusted-public-keys = [
       "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
     ];
   };