modules: services: woodpecker: default packages
Now that v1.0.0 is on nixpkgs, no need for my custom packages.
This commit is contained in:
parent
68118e8f93
commit
7b6779f2b5
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
Loading…
Reference in a new issue