From 34ab90a16c7664d4c3c27be1d58d911fce2ce602 Mon Sep 17 00:00:00 2001 From: autumn Date: Sat, 11 Oct 2025 13:16:57 -0600 Subject: [PATCH] actually add hydra? --- system/packages/bincache.nix | 14 ++++++++++++++ system/yukigekko/configuration.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 system/packages/bincache.nix diff --git a/system/packages/bincache.nix b/system/packages/bincache.nix new file mode 100644 index 0000000..c3d852e --- /dev/null +++ b/system/packages/bincache.nix @@ -0,0 +1,14 @@ + +{ config, pkgs, ... }: + +{ + # Configure systems to use Hydra as a binary cache substituter + nix.settings = { + substituters = [ + "http://rhiannon.coven.systems:3000" + ]; + trusted-public-keys = [ + "rhiannon.coven.systems:f8KiECrc7rY3vDMSy7sACyToxRLPECtQTcm6p8LFMPk=" + ]; + }; +} diff --git a/system/yukigekko/configuration.nix b/system/yukigekko/configuration.nix index 849e67e..25899bf 100644 --- a/system/yukigekko/configuration.nix +++ b/system/yukigekko/configuration.nix @@ -9,6 +9,7 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix + ../packages/bincache.nix #system configs ../defaults/system.nix ../defaults/locale.nix