From a0406007dd2a07ce48b94b22e8f86ddbca6757a4 Mon Sep 17 00:00:00 2001 From: clerie Date: Sat, 19 Nov 2022 00:06:33 +0100 Subject: [PATCH] configuration/common: use nix-cache.clerie.de as a substituter --- configuration/common/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 28173b2..fbfb67b 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -82,7 +82,15 @@ acceptTerms = true; }; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + substituters = [ + "https://nix-cache.clerie.de" + ]; + trusted-public-keys = [ + "nix-cache.clerie.de:bAt1GJTS9BOTcXFWj3nURrSlcjqikCev9yDvqArMP5g=" + ]; + }; nixpkgs.overlays = [ (import ../../pkgs/overlay.nix)