about summary refs log tree commit diff
path: root/modules/core
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2022-02-01 13:22:01 +0000
committerdevhell <devhell@mailfresser.de>2022-02-01 13:22:01 +0000
commita0297bf921399c3243dcca99626d8697f0735abe (patch)
treecc68978539684ed6de4f98f777e1e18a4cde8e5b /modules/core
parentcb1b6c45baef0f68dfb7468cf3a6ef74c0a1be66 (diff)
modules/core/common: nix.* -> nix.settings.*
This has been renamed a little while ago.
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/common.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/core/common.nix b/modules/core/common.nix
index d05c54dd..9d286717 100644
--- a/modules/core/common.nix
+++ b/modules/core/common.nix
@@ -44,10 +44,14 @@ in {
       vuizvui = import ../../pkgs { pkgs = super; };
     })));
 
-    nix.binaryCaches = [ "https://headcounter.org/hydra/" ];
-    nix.binaryCachePublicKeys = [
-      "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg="
-    ];
+    nix = {
+      settings = {
+        substituters = [ "https://headcounter.org/hydra/" ];
+        trusted-public-keys = [
+          "headcounter.org:/7YANMvnQnyvcVB6rgFTdb8p5LG1OTXaO+21CaOSBzg="
+        ];
+      };
+    };
 
     environment.variables.NIXPKGS_CONFIG = let
       inherit (config.vuizvui) enableGlobalNixpkgsConfig;