hosts: nixos: porthos: switch to forgejo

This required a quick rename to migrate from one to the other.
This commit is contained in:
Bruno BELANYI 2024-03-05 12:32:40 +00:00
parent f3207468f9
commit 0f33dbd5c2
2 changed files with 6 additions and 6 deletions

View File

@ -36,14 +36,14 @@ in
flood = {
enable = true;
};
# Gitea forge
gitea = {
# Forgejo forge
forgejo = {
enable = true;
mail = {
enable = true;
host = "smtp.migadu.com";
user = lib.my.mkMailAddress "gitea" "belanyi.fr";
passwordFile = secrets."gitea/mail-password".path;
user = lib.my.mkMailAddress "forgejo" "belanyi.fr";
passwordFile = secrets."forgejo/mail-password".path;
};
};
# Meta-indexers

View File

@ -10,8 +10,8 @@
enable = mkEnableOption "Woodpecker CI";
forge = mkOption {
type = types.enum [ "gitea" "forgejo" ];
default = "gitea";
example = "forgejo";
default = "forgejo";
example = "gitea";
description = "Which Forge to connect to";
};
runners = mkOption {