From e02e66a4bb8cf64675f792aab70d3ada59109ec0 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 26 May 2024 09:14:01 +0200 Subject: [PATCH] hosts: steamdeck: add hydraCache --- 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 62623cd..fe09d47 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -85,7 +85,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..a521709 --- /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-finished" + ]; + }; + }; + +}