From 1d622b70003ecc134e4e5e243dc40a41bf3c73a0 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 14 Nov 2022 00:18:05 +0100 Subject: [PATCH] Use renamed config parameters --- machines/common.nix | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/machines/common.nix b/machines/common.nix index f6f407f..435b6b6 100644 --- a/machines/common.nix +++ b/machines/common.nix @@ -5,22 +5,15 @@ inputs: extraOptions = '' experimental-features = nix-command flakes ''; - binaryCaches = lib.mkForce [ - "https://cache.nixos.org/" - "https://nix-community.cachix.org" - ]; - binaryCachePublicKeys = [ - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - ]; - #settings = { - #substituters = lib.mkForce [ - #"https://cache.nixos.org/" - #"https://nix-community.cachix.org" - #]; - #trusted-public-keys = [ - #"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - #]; - #}; + settings = { + substituters = lib.mkForce [ + "https://cache.nixos.org/" + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; # nix shell and nix build should use the same channel as the flake registry.nixpkgs.flake = inputs.nixpkgs; };