cluster/services/forge: services.gitea -> services.forgejo

This commit is contained in:
Max Headroom 2024-06-04 18:57:24 +02:00
parent d51f5ba633
commit efe0ede612

View file

@ -11,7 +11,7 @@ let
link = config.links.forge;
exe = lib.getExe config.services.gitea.package;
exe = lib.getExe config.services.forgejo.package;
in
{
@ -23,17 +23,17 @@ in
age.secrets = {
forgejoOidcSecret = {
file = ./credentials/forgejo-oidc-secret.age;
owner = "gitea";
owner = "forgejo";
};
forgejoDbCredentials = {
file = ./credentials/forgejo-db-credentials.age;
owner = "gitea";
owner = "forgejo";
};
};
links.forge.protocol = "http";
services.gitea = {
services.forgejo = {
enable = true;
package = depot.packages.forgejo;
appName = "The Forge";
@ -75,7 +75,7 @@ in
services.nginx.virtualHosts."${host}" = vhosts.proxy link.url;
systemd.services.gitea.preStart = let
systemd.services.forgejo.preStart = let
providerName = "PrivateVoidAccount";
args = lib.escapeShellArgs [
"--name" providerName