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; };