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