From c2192190a91730aac08b51b812ea1056461021f9 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 25 May 2024 13:58:24 +0200 Subject: [PATCH] services: add hydra cache and allowed uri --- hosts/default.nix | 2 +- modules/hardware/hydraCache.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 modules/hardware/hydraCache.nix diff --git a/hosts/default.nix b/hosts/default.nix index d12c0f3..910b24b 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -90,7 +90,7 @@ in lanzaboote.nixosModules.lanzaboote ./steamdeck ./configuration_desktop.nix - ../modules/hardware/remoteClient.nix + ../modules/hardware/hydraCache.nix nixos-hardware.nixosModules.common-cpu-amd nixos-hardware.nixosModules.common-gpu-amd nixos-hardware.nixosModules.common-pc-ssd diff --git a/modules/hardware/hydraCache.nix b/modules/hardware/hydraCache.nix new file mode 100644 index 0000000..8b425fc --- /dev/null +++ b/modules/hardware/hydraCache.nix @@ -0,0 +1,16 @@ + +{ config, lib, pkgs, ... }: + +{ + nix = { + settings = { + extra-trusted-public-keys = [ + "hades-builder:AFdPgi6Qq/yKqc2V2imgzMikEkVEFCrDaHyAmOJ3MII=" + ]; + extra-trusted-substituters = [ + "http://dmz.home.opel-online.de:3000/project/jovian/channel/latest" + ]; + }; + }; + +}