Files
2025-08-13 17:02:45 +02:00

22 lines
371 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.jenkins;
in {
options.dov.jenkins.enable = mkEnableOption "jenkins config";
config = mkIf cfg.enable {
services.jenkins = {
enable = cfg.enable;
port = 8081;
};
networking.firewall = {
enable = cfg.enable;
allowedTCPPorts = [ 8081 ]; # HTTP and HTTPS
};
};
}