{ 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; } ]; }