nixos-module/defaults: add hydra.hq.c3d2.de to nix.binaryCaches

This commit is contained in:
Astro 2022-07-12 00:46:48 +02:00
parent 4f033b2b20
commit 99dbdf23ff
1 changed files with 6 additions and 1 deletions

View File

@ -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 = {