From 967b5f45e33b2791c91f0dce8177e92b42eda319 Mon Sep 17 00:00:00 2001 From: osbm Date: Sun, 27 Jul 2025 03:12:40 +0300 Subject: [PATCH] migrate hydra to ymir --- hosts/wallfacer/configuration.nix | 7 ------- hosts/ymir/configuration.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/hosts/wallfacer/configuration.nix b/hosts/wallfacer/configuration.nix index ae2dc4a..b3bd85a 100644 --- a/hosts/wallfacer/configuration.nix +++ b/hosts/wallfacer/configuration.nix @@ -13,14 +13,7 @@ in enableNextcloud = true; }; - services.hydra = { - enable = true; - hydraURL = "http://localhost:${builtins.toString hydraPort}"; - notificationSender = "hydra@localhost"; - buildMachinesFiles = []; - useSubstitutes = true; - }; networking.firewall.allowedTCPPorts = [ hydraPort ]; boot.loader.systemd-boot.enable = true; diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index b97b4a6..2173c24 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -30,6 +30,15 @@ networking.hostName = "ymir"; # Define your hostname. + services.hydra = { + enable = true; + hydraURL = "http://localhost:3000"; + notificationSender = "hydra@localhost"; + buildMachinesFiles = []; + useSubstitutes = true; + }; + + networking.firewall.allowedTCPPorts = [ 8889 8000