pruflas: remove hydra
This commit is contained in:
parent
b1900734b3
commit
65d06f563f
1 changed files with 1 additions and 41 deletions
|
@ -1,48 +1,10 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
|
||||||
hostName = "pruflas";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [ ./hardware-configuration.nix ];
|
networking.hostName = "pruflas";
|
||||||
|
|
||||||
networking.hostName = hostName;
|
|
||||||
networking.hosts = {
|
|
||||||
"10.3.3.3" = [ "hydra.dadada.li" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.logind.lidSwitch = "ignore";
|
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.admin.enable = true;
|
||||||
|
|
||||||
dadada.backupClient = {
|
dadada.backupClient = {
|
||||||
|
@ -68,8 +30,6 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue