diff options
author | devhell <devhell@mailfresser.de> | 2022-02-01 13:22:01 +0000 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2022-02-01 13:22:01 +0000 |
commit | a0297bf921399c3243dcca99626d8697f0735abe (patch) | |
tree | cc68978539684ed6de4f98f777e1e18a4cde8e5b | |
parent | cb1b6c45baef0f68dfb7468cf3a6ef74c0a1be66 (diff) |
modules/core/common: nix.* -> nix.settings.*
This has been renamed a little while ago.
-rw-r--r-- | modules/core/common.nix | 12 |
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; |