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 c6e93e8817
commit 2c7ed7afba
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

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