nixos: services: woodpecker: configurable forge
This commit is contained in:
parent
b41fd9e48e
commit
f3207468f9
2 changed files with 7 additions and 1 deletions
|
|
@ -8,6 +8,12 @@
|
|||
|
||||
options.my.services.woodpecker = with lib; {
|
||||
enable = mkEnableOption "Woodpecker CI";
|
||||
forge = mkOption {
|
||||
type = types.enum [ "gitea" "forgejo" ];
|
||||
default = "gitea";
|
||||
example = "forgejo";
|
||||
description = "Which Forge to connect to";
|
||||
};
|
||||
runners = mkOption {
|
||||
type = with types; listOf (enum [ "exec" "docker" ]);
|
||||
default = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue