mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
nuc: remove hydra file
This commit is contained in:
parent
02eef8f563
commit
f23177f96d
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
domain = "hydra.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
port = 4000;
|
||||
hydraURL = domain;
|
||||
notificationSender = "hydra@localhost";
|
||||
buildMachinesFiles = [ ];
|
||||
useSubstitutes = true;
|
||||
|
||||
};
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.hydra.port}";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue