diff --git a/services/ofborg/default.nix b/services/ofborg/default.nix index 2136055..e666788 100644 --- a/services/ofborg/default.nix +++ b/services/ofborg/default.nix @@ -30,6 +30,8 @@ in { mass-rebuilder.enable = mkEnableOption "ofborg evaluator worker for mass rebuilds jobs"; stats.enable = mkEnableOption "ofborg prometheus worker"; + gerrit-events-streamer.enable = mkEnableOption "ofborg's Gerrit event streamer"; + package = mkPackageOption pkgs "ofborg" { }; settings = mkOption { @@ -107,6 +109,9 @@ in { (mkIf cfg.pastebin.enable { systemd.services.ofborg-pastebin = mkOfborgWorker "pastebin-worker" { }; }) + (mkIf cfg.gerrit-events-streamer.enable { + systemd.services.ofborg-gerrit-streamer = mkOfborgWorker "gerrit-events-streamer" { }; + }) (mkIf cfg.mass-rebuilder.enable { systemd.services.ofborg-mass-rebuilder = mkOfborgWorker "mass-rebuilder" { }; })