snowflake/hosts/sakura/services/woodpecker.nix

20 lines
522 B
Nix
Raw Normal View History

2023-06-11 05:10:20 -04:00
{config, ...}: {
sops.secrets.woodpecker-server = {};
services.woodpecker-server = {
enable = true;
environment = {
WOODPECKER_SERVER_ADDR = ":8006";
WOODPECKER_HOST = "https://ci.notohh.dev";
WOODPECKER_OPEN = "false";
WOODPECKER_GITEA = "true";
WOODPECKER_GITEA_URL = "https://git.notohh.dev";
WOODPECKER_ADMIN = "notohh";
};
environmentFile = config.sops.secrets.woodpecker-server.path;
};
services.woodpecker-agents.agents.nix = {
enable = true;
};
}