From c4f8187a67ff3086450ff9974876d3b420729d1f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 14 Mar 2023 15:24:55 +0800 Subject: [PATCH] modernize substituter settings --- final/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/final/configuration.nix b/final/configuration.nix index b8e7c3a..08c425f 100644 --- a/final/configuration.nix +++ b/final/configuration.nix @@ -112,8 +112,8 @@ security.sudo.wheelNeedsPassword = false; services.udev.packages = [ artiq.packages.x86_64-linux.openocd-bscanspi ]; - nix.binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; - nix.binaryCaches = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"]; + nix.settings.trusted-public-keys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="]; + nix.settings.substituters = ["https://nixbld.m-labs.hk"]; nix.extraOptions = '' experimental-features = nix-command flakes '';