about summary refs log tree commit diff
path: root/nixos/modules/cachix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/cachix')
-rw-r--r--nixos/modules/cachix/caches/chaotic-nixpkgs.nix6
-rw-r--r--nixos/modules/cachix/caches/nix-community.nix6
-rw-r--r--nixos/modules/cachix/default.nix2
3 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/cachix/caches/chaotic-nixpkgs.nix b/nixos/modules/cachix/caches/chaotic-nixpkgs.nix
index 7131c9b..d6c9844 100644
--- a/nixos/modules/cachix/caches/chaotic-nixpkgs.nix
+++ b/nixos/modules/cachix/caches/chaotic-nixpkgs.nix
@@ -1,11 +1,11 @@
 { config, lib, ... }:
 
 {
-  nix = {
-    binaryCaches = [
+  nix.settings = {
+    substituters = [
       "https://chaotic-nixpkgs.cachix.org"
     ];
-    binaryCachePublicKeys = [
+    trusted-public-keys = [
       "chaotic-nixpkgs.cachix.org-1:xm/PZVLgwIlMc8K5+ZxGIkEXovfL9Bll5HolvzN1wIQ="
     ];
   };
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="
     ];
   };
diff --git a/nixos/modules/cachix/default.nix b/nixos/modules/cachix/default.nix
index 38ad575..9dd55b5 100644
--- a/nixos/modules/cachix/default.nix
+++ b/nixos/modules/cachix/default.nix
@@ -7,7 +7,7 @@ let
 in
 {
   inherit imports;
-  nix.binaryCaches = [ "https://cache.nixos.org/" ];
+  nix.settings.substituters = [ "https://cache.nixos.org/" ];
 
   environment.systemPackages = [ pkgs.cachix ];
 }