|
|
|
@ -54,18 +54,18 @@ in {
|
|
|
|
|
|
|
|
|
|
services.hydra = {
|
|
|
|
|
enable = true;
|
|
|
|
|
port = 3333;
|
|
|
|
|
hydraURL = "http://hydra.cryto.net/";
|
|
|
|
|
notificationSender = "hydra@cryto.net";
|
|
|
|
|
useSubstitutes = false;
|
|
|
|
|
minimumDiskFree = 20;
|
|
|
|
|
minimumDiskFreeEvaluator = 20;
|
|
|
|
|
buildMachinesFiles = pkgs.lib.mkIf (config.nix.buildMachines == []) [];
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
port = 3333;
|
|
|
|
|
hydraURL = "http://hydra.cryto.net/";
|
|
|
|
|
notificationSender = "hydra@cryto.net";
|
|
|
|
|
useSubstitutes = false;
|
|
|
|
|
minimumDiskFree = 20;
|
|
|
|
|
minimumDiskFreeEvaluator = 20;
|
|
|
|
|
buildMachinesFiles = pkgs.lib.mkIf (config.nix.buildMachines == []) [];
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
store_uri = file:///var/lib/hydra-builds?secret-key=/var/lib/hydra/binary-cache.key&write-nar-listing=1
|
|
|
|
|
binary_cache_public_uri = https://nix-cache.cryto.net
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* FIXME: Declaratively define data sources; Grafana module for NixOS does not appear to support this yet? */
|
|
|
|
|
services.grafana = {
|
|
|
|
|