Remove Hydra

This commit is contained in:
Victor Mignot 2023-11-23 21:56:52 +01:00
parent 81ddbfa7df
commit cbbba40a01
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D
3 changed files with 0 additions and 32 deletions

View file

@ -35,8 +35,6 @@
services.nginx.enable = true; services.nginx.enable = true;
server.builder.enableHydra = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim neovim
git git

View file

@ -1,7 +1,6 @@
{ {
imports = [ imports = [
./network.nix ./network.nix
./hydra.nix
./nginx.nix ./nginx.nix
]; ];
} }

View file

@ -1,29 +0,0 @@
{ config, lib, extraInfo, ... }:
with lib;
{
options.server.builder.enableHydra = mkOption {
type = types.bool;
default = false;
example = true;
};
config = mkIf config.server.builder.enableHydra {
services.hydra = {
enable = true;
hydraURL = "http://localhost:3000";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;
};
services.nginx.virtualHosts.${extraInfo.hydraURI} = mkIf config.services.nginx.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
recommendedProxySettings = true;
proxyPass = config.services.hydra.hydraURL;
};
};
};
}