Revert "pruflas: remove hydra"

This reverts commit 65d06f563f.
This commit is contained in:
Tim Schubert 2022-07-04 23:15:45 +02:00
parent 89990f9fd1
commit e3d4675201
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -9,6 +9,36 @@ in {
services.logind.lidSwitch = "ignore";
services.hydra = {
enable = true;
package = pkgs.hydra-unstable;
hydraURL = "https://hydra.dadada.li";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
useSubstitutes = true;
listenHost = "hydra.dadada.li";
port = 3000;
};
nix.buildMachines = [
{
hostName = "localhost";
system = "x86_64-linux";
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
maxJobs = 8;
}
];
services.nginx = {
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
logError = "/dev/null";
appendHttpConfig = ''
access_log off;
'';
};
dadada.admin.enable = true;
dadada.backupClient = {
@ -34,6 +64,8 @@ in {
];
};
boot.kernelModules = [ "kvm-intel" ];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;