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, ... }:
|
{ lib, ... }:
|
||||||
|
let
|
||||||
|
hydraPort = 54543;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
@ -12,12 +15,13 @@
|
||||||
|
|
||||||
services.hydra = {
|
services.hydra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hydraURL = "http://localhost:54543";
|
hydraURL = "http://localhost:${hydraPort}";
|
||||||
notificationSender = "hydra@localhost";
|
notificationSender = "hydra@localhost";
|
||||||
buildMachinesFiles = [];
|
buildMachinesFiles = [];
|
||||||
useSubstitutes = true;
|
useSubstitutes = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 54543 ];
|
networking.firewall.allowedTCPPorts = [ hydraPort ];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue