Hydra
This commit is contained in:
parent
36b6081783
commit
874bc20b65
26
common/server/hydra.nix
Normal file
26
common/server/hydra.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
domain = "hydra.neet.dev";
|
||||||
|
port = 3000;
|
||||||
|
notifyEmail = "hydra@neet.dev";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# the lounge client
|
||||||
|
services.nginx.virtualHosts."${domain}" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:${toString port}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.hydra = {
|
||||||
|
enable = true;
|
||||||
|
port = 3000;
|
||||||
|
hydraURL = "https://${domain}";
|
||||||
|
useSubstitutes = true;
|
||||||
|
notificationSender = notifyEmail;
|
||||||
|
buildMachinesFiles = [];
|
||||||
|
};
|
||||||
|
}
|
@ -10,6 +10,7 @@
|
|||||||
../common/server/mumble.nix
|
../common/server/mumble.nix
|
||||||
../common/server/gitlab.nix
|
../common/server/gitlab.nix
|
||||||
../common/server/video-stream.nix
|
../common/server/video-stream.nix
|
||||||
|
../common/server/hydra.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user