diff --git a/nixos/dfinity.nix b/nixos/dfinity.nix index 12b44797..e1a1401c 100644 --- a/nixos/dfinity.nix +++ b/nixos/dfinity.nix @@ -1,7 +1,7 @@ { - nix = { - trustedBinaryCaches = [ https://nix.oregon.dfinity.build ]; - binaryCachePublicKeys = [ + nix.settings = { + trusted-binary-caches = [ https://nix.oregon.dfinity.build ]; + trusted-public-keys = [ "hydra.oregon.dfinity.build-2:KMTixHrh9DpAjF/0xU/49VEtNuGzQ71YaVIUSOLUaCM=" "cache.dfinity.systems-1:IcOn/2SVyPGOi8i3hKhQOlyiSQotiOBKwTFmyPX5YNw=" ]; diff --git a/nixos/users.nix b/nixos/users.nix index bd54d0d2..99b072d8 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -41,7 +41,7 @@ }; }; - nix.trustedUsers = [ "root" "imalison" "kat" ]; + nix.settings.trustedUsers = [ "root" "imalison" "kat" ]; imports = [ inputs.home-manager.nixosModule