Declarative jobset for Hydra CI

This commit is contained in:
Vili Sinervä 2025-06-11 22:16:27 +03:00
parent 3dba050d34
commit cdba0a7b6d
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
3 changed files with 43 additions and 14 deletions

View file

@ -16,6 +16,7 @@ in
notificationSender = "hydra@sinerva.eu";
port = 8080;
useSubstitutes = true;
extraConfig = ''dynamic_run_command = enable'';
};
nginx.virtualHosts.${domain}.locations."/" = {
@ -23,19 +24,26 @@ in
};
};
nix.buildMachines = [
{
hostName = "localhost";
protocol = null;
system = "x86_64-linux";
supportedFeatures = [
"kvm"
"nixos-test"
"big-parallel"
"benchmark"
];
maxJobs = 6;
}
];
nix = {
settings.allowed-uris = [
"github:"
"git+https://github.com/"
"git+ssh://github.com/"
];
buildMachines = [
{
hostName = "localhost";
protocol = null;
system = "x86_64-linux";
supportedFeatures = [
"kvm"
"nixos-test"
"big-parallel"
"benchmark"
];
maxJobs = 6;
}
];
};
}