fix hydra port
This commit is contained in:
parent
fc5b4d614e
commit
03525546d5
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue