From d9ea840eefb06834fbb18e2d687b3778b5b0e7a2 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sat, 2 Apr 2022 10:48:06 +0200 Subject: [PATCH] Enabled local Hydra on `pc` to learn it --- hosts/pc/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/pc/configuration.nix b/hosts/pc/configuration.nix index c204045..c7e8f96 100644 --- a/hosts/pc/configuration.nix +++ b/hosts/pc/configuration.nix @@ -50,5 +50,15 @@ }; }; + # TODO: disable, only for playing + services.hydra = { + enable = true; + hydraURL = "http://localhost:3000"; + notificationSender = "hydra@localhost"; + buildMachinesFiles = [ ]; + useSubstitutes = true; + }; + + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; }