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 = { flood = {
enable = true; enable = true;
}; };
# Gitea forge # Forgejo forge
gitea = { forgejo = {
enable = true; enable = true;
mail = { mail = {
enable = true; enable = true;
host = "smtp.migadu.com"; host = "smtp.migadu.com";
user = lib.my.mkMailAddress "gitea" "belanyi.fr"; user = lib.my.mkMailAddress "forgejo" "belanyi.fr";
passwordFile = secrets."gitea/mail-password".path; passwordFile = secrets."forgejo/mail-password".path;
}; };
}; };
# Meta-indexers # Meta-indexers

View file

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