modules: services: woodpecker: default packages

Now that v1.0.0 is on nixpkgs, no need for my custom packages.
This commit is contained in:
Bruno BELANYI 2023-08-01 14:57:22 +00:00
parent 68118e8f93
commit 7b6779f2b5
3 changed files with 2 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
cfg = config.my.services.woodpecker; cfg = config.my.services.woodpecker;
@ -10,8 +10,6 @@ in
agents.docker = { agents.docker = {
enable = true; enable = true;
package = pkgs.ambroisie.woodpecker-agent;
environment = { environment = {
WOODPECKER_SERVER = "localhost:${toString cfg.rpcPort}"; WOODPECKER_SERVER = "localhost:${toString cfg.rpcPort}";
WOODPECKER_MAX_WORKFLOWS = "10"; WOODPECKER_MAX_WORKFLOWS = "10";

View file

@ -10,8 +10,6 @@ in
agents.exec = { agents.exec = {
enable = true; enable = true;
package = pkgs.ambroisie.woodpecker-agent;
environment = { environment = {
WOODPECKER_SERVER = "localhost:${toString cfg.rpcPort}"; WOODPECKER_SERVER = "localhost:${toString cfg.rpcPort}";
WOODPECKER_MAX_WORKFLOWS = "10"; WOODPECKER_MAX_WORKFLOWS = "10";

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
cfg = config.my.services.woodpecker; cfg = config.my.services.woodpecker;
in in
@ -7,8 +7,6 @@ in
services.woodpecker-server = { services.woodpecker-server = {
enable = true; enable = true;
package = pkgs.ambroisie.woodpecker-server;
environment = { environment = {
WOODPECKER_OPEN = "true"; WOODPECKER_OPEN = "true";
WOODPECKER_HOST = "https://woodpecker.${config.networking.domain}"; WOODPECKER_HOST = "https://woodpecker.${config.networking.domain}";