fix hydra port

This commit is contained in:
Osman Faruk Bayram 2025-07-27 02:59:35 +03:00
parent fc5b4d614e
commit 03525546d5

View file

@ -1,4 +1,7 @@
{ lib, ... }:
let
hydraPort = 54543;
in
{
imports = [
./hardware-configuration.nix
@ -12,12 +15,13 @@
services.hydra = {
enable = true;
hydraURL = "http://localhost:54543";
hydraURL = "http://localhost:${hydraPort}";
notificationSender = "hydra@localhost";
buildMachinesFiles = [];
useSubstitutes = true;
};
networking.firewall.allowedTCPPorts = [ 54543 ];
networking.firewall.allowedTCPPorts = [ hydraPort ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;