Hail fixup
This commit is contained in:
parent
0878859b17
commit
84e7a38024
|
@ -5,15 +5,13 @@
|
|||
binaryCaches = [ "https://cache.nixos.org" "https://cache.dhall-lang.org" ];
|
||||
binaryCachePublicKeys =
|
||||
[ "cache.dhall-lang.org:I9/H18WHd60olG5GsIjolp7CtepSgJmM2CsO813VTmM=" ];
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "server7.hq.c3d2.de";
|
||||
system = "x86_64-linux";
|
||||
sshUser = "buildfarmer";
|
||||
sshKey = "/root/.ssh/id_ed25519";
|
||||
maxJobs = 10;
|
||||
}
|
||||
];
|
||||
buildMachines = [{
|
||||
hostName = "server7.hq.c3d2.de";
|
||||
system = "x86_64-linux";
|
||||
sshUser = "buildfarmer";
|
||||
sshKey = "/root/.ssh/id_ed25519";
|
||||
maxJobs = 10;
|
||||
}];
|
||||
extraOptions = ''
|
||||
allowed-uris = http:// https://
|
||||
'';
|
||||
|
@ -31,13 +29,11 @@
|
|||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
virtualHosts = {
|
||||
"hydra.hq.c3d2.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass =
|
||||
"http://localhost:${toString config.services.hydra.port}";
|
||||
};
|
||||
virtualHosts."hydra.hq.c3d2.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass =
|
||||
"http://localhost:${toString config.services.hydra.port}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -218,8 +218,7 @@ in {
|
|||
services.hail = lib.mkIf cfg.enableHail {
|
||||
enable = true;
|
||||
hydraJobUri =
|
||||
let hydra = if cfg.mapHqHosts then "hydra.hq" else "hydra.hq.c3d2.de";
|
||||
in "https:///${hydra}/job/c3d2/hail/${config.networking.hostName}-activator ";
|
||||
"https://hydra.hq.c3d2.de/job/c3d2/hail/${config.networking.hostName}-activator ";
|
||||
# pad the end so the URL doesn't break when systemshit puts a ; on the end
|
||||
package = (import <nixpkgs-unstable> { }).haskellPackages.hail;
|
||||
# Only builds > 19.09
|
||||
|
|
Loading…
Reference in New Issue