nix-dotfiles/hosts/dosei/services/jenkins.nix

24 lines
453 B
Nix
Raw Permalink Normal View History

2024-06-26 20:37:40 +02:00
{ config, pkgs, lib, ... }:
{
services.jenkins = {
enable = true;
withCLI = true;
# extraJavaOptions = [
# "-Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true"
# ];
packages = with pkgs; [
stdenv
jdk17
nix
docker
git
bashInteractive # 'sh' step requires this
coreutils
which
procps
];
};
users.groups.docker.members = [ "jenkins" ];
}