mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-25 13:03:54 +01:00
23 lines
407 B
Nix
23 lines
407 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: {
|
||
|
services.hydra = {
|
||
|
enable = true;
|
||
|
hydraURL = "https://hydra.heroin.trade";
|
||
|
port = 3003;
|
||
|
useSubstitutes = true;
|
||
|
notificationSender = "hydra@localhost";
|
||
|
};
|
||
|
|
||
|
nix.buildMachines = [
|
||
|
{
|
||
|
hostName = "localhost";
|
||
|
system = "x86_64-linux";
|
||
|
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||
|
maxJobs = 8;
|
||
|
}
|
||
|
];
|
||
|
}
|