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
cfg = config.my.services.woodpecker;
@ -10,8 +10,6 @@ in
agents.docker = {
enable = true;
package = pkgs.ambroisie.woodpecker-agent;
environment = {
WOODPECKER_SERVER = "localhost:${toString cfg.rpcPort}";
WOODPECKER_MAX_WORKFLOWS = "10";

View file

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

View file

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