From 5f8454285ee9ea3a12703bbb9b2bddea35e76e2d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 30 Jan 2022 15:59:08 +0100 Subject: [PATCH] base: nix: adapt renamed settings --- base/nix.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/base/nix.nix b/base/nix.nix index dd9842b..48e41e4 100644 --- a/base/nix.nix +++ b/base/nix.nix @@ -8,15 +8,16 @@ experimental-features = nix-command flakes ''; - trustedUsers = [ "@wheel" ]; - - binaryCaches = [ - "https://alarsyo.cachix.org" - "https://nix-community.cachix.org" - ]; - binaryCachePublicKeys = [ - "alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk=" - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - ]; + settings = { + trusted-users = [ "@wheel" ]; + substituters = [ + "https://alarsyo.cachix.org" + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; }; }