Add jenkins

This commit is contained in:
Alexander
2025-08-13 17:02:45 +02:00
parent 7227b71a91
commit 783f0da31a
4 changed files with 27 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
{ 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
};
};
}