From 99dbdf23ff8ceed7815c84f11b48b4f396d8cb59 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 12 Jul 2022 00:46:48 +0200 Subject: [PATCH] nixos-module/defaults: add hydra.hq.c3d2.de to nix.binaryCaches --- nix/nixos-module/defaults.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nix/nixos-module/defaults.nix b/nix/nixos-module/defaults.nix index 2e28949..508d969 100644 --- a/nix/nixos-module/defaults.nix +++ b/nix/nixos-module/defaults.nix @@ -1,4 +1,4 @@ -{ hostName, inputs, pkgs, ... }: +{ hostName, inputs, lib, pkgs, ... }: { boot.kernelParams = [ @@ -25,6 +25,11 @@ registry = { nixpkgs.flake = inputs.nixpkgs; }; + + binaryCachePublicKeys = [ + "nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=%" + ]; + binaryCaches = lib.mkBefore [ "https://hydra.hq.c3d2.de" ]; }; documentation = {