diff --git a/hosts/profiles/woodpecker-agent/default.nix b/hosts/profiles/woodpecker-agent/default.nix index e316a7dc..d3bbaefb 100644 --- a/hosts/profiles/woodpecker-agent/default.nix +++ b/hosts/profiles/woodpecker-agent/default.nix @@ -10,6 +10,7 @@ users.groups.woodpecker-runner = { }; # Allow the exec runner to write to build with nix nix.settings.allowed-users = [ "woodpecker-runner" ]; + virtualisation.docker.enable = true; age.secrets.woodpecker-agent-secret.owner = "woodpecker-runner"; age.secrets.woodpecker-agent-secret.file = "${self}/secrets/woodpecker-agent-secret.age"; @@ -37,12 +38,13 @@ Type = "simple"; Environment = [ "WOODPECKER_RUNNER_CAPACITY=6" - # "WOODPECKER_RUNNER_NAME=woodpecker-agent" - "WOODPECKER_SERVER=https://ci.sealight.xyz/" - # "WOODPECKER_HOSTNAME=mossnet" - # "WOODPECKER_BACKEND=local" - # "NIX_REMOTE=daemon" - # "PAGER=cat" + "WOODPECKER_RUNNER_NAME=woodpecker-agent" + "WOODPECKER_SERVER=ci.sealight.xyz:9000" + "WOODPECKER_HOSTNAME=mossnet" + "WOODPECKER_BACKEND=docker" + "NIX_REMOTE=daemon" + "PAGER=cat" + # "WOODPECKER_PROTO=https" # "WOODPECKER_LOG_LEVEL=debug" ]; WorkingDirectory = "/var/lib/woodpecker";