woodpecker: add packages needed for network

https://github.com/NixOS/nixpkgs/pull/73971#issuecomment-790421418
This commit is contained in:
Kiara Grouwstra 2025-08-04 09:47:37 +02:00
parent 26bd520b2c
commit 5942011504
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -226,33 +226,42 @@
}; };
# https://woodpecker-ci.org/docs/administration/configuration/agent # https://woodpecker-ci.org/docs/administration/configuration/agent
woodpecker-agents.agents = { woodpecker-agents.agents =
exec = { let
# enable = true;
path = with pkgs; [ path = with pkgs; [
attic-client
bash
bind
coreutils
dnsutils
git git
git-lfs git-lfs
woodpecker-plugin-git gnutar
bash gzip
coreutils
nix nix
attic-client
openssh
npins npins
openssh
strace strace
woodpecker-plugin-git
]; ];
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-exec.conf".path ]; in
extraGroups = [ "woodpecker-agent-exec" ]; {
exec = {
# enable = true;
inherit path;
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-exec.conf".path ];
extraGroups = [ "woodpecker-agent-exec" ];
};
docker = {
enable = true;
inherit path;
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-podman.conf".path ];
extraGroups = [
"podman"
"woodpecker-agent-docker"
];
};
}; };
docker = {
enable = true;
environmentFile = [ config.vars.generators."templates".files."woodpecker-agent-podman.conf".path ];
extraGroups = [
"podman"
"woodpecker-agent-docker"
];
};
};
}; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [