From 57087a340025f5a90ed7259d08cee7b366980377 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Sun, 19 Nov 2023 12:28:10 +0100 Subject: [PATCH] Add Hydra as a substituter Signed-off-by: magic_rb --- nixos/common/nixpkgs.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/common/nixpkgs.nix b/nixos/common/nixpkgs.nix index 836fc51..170c5a8 100644 --- a/nixos/common/nixpkgs.nix +++ b/nixos/common/nixpkgs.nix @@ -11,6 +11,13 @@ in n: flake: {inherit flake;} ); nix.settings = { + substituters = [ + "https://cache.nixos.org/" + "https://hydra.redalder.org/" + ]; + trusted-public-keys = [ + "redalder-nix-cache-1:8t4zBJWgVtrfAOJ45iNHEqA/dDFV47Sr1sGa8ME9ru0=" + ]; experimental-features = [ "flakes" "nix-command" ]; }; nixpkgs.config.allowUnfree = true;