cluster/services/forge: services.gitea -> services.forgejo
This commit is contained in:
parent
d51f5ba633
commit
efe0ede612
1 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ let
|
||||||
|
|
||||||
link = config.links.forge;
|
link = config.links.forge;
|
||||||
|
|
||||||
exe = lib.getExe config.services.gitea.package;
|
exe = lib.getExe config.services.forgejo.package;
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -23,17 +23,17 @@ in
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
forgejoOidcSecret = {
|
forgejoOidcSecret = {
|
||||||
file = ./credentials/forgejo-oidc-secret.age;
|
file = ./credentials/forgejo-oidc-secret.age;
|
||||||
owner = "gitea";
|
owner = "forgejo";
|
||||||
};
|
};
|
||||||
forgejoDbCredentials = {
|
forgejoDbCredentials = {
|
||||||
file = ./credentials/forgejo-db-credentials.age;
|
file = ./credentials/forgejo-db-credentials.age;
|
||||||
owner = "gitea";
|
owner = "forgejo";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
links.forge.protocol = "http";
|
links.forge.protocol = "http";
|
||||||
|
|
||||||
services.gitea = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = depot.packages.forgejo;
|
package = depot.packages.forgejo;
|
||||||
appName = "The Forge";
|
appName = "The Forge";
|
||||||
|
@ -75,7 +75,7 @@ in
|
||||||
|
|
||||||
services.nginx.virtualHosts."${host}" = vhosts.proxy link.url;
|
services.nginx.virtualHosts."${host}" = vhosts.proxy link.url;
|
||||||
|
|
||||||
systemd.services.gitea.preStart = let
|
systemd.services.forgejo.preStart = let
|
||||||
providerName = "PrivateVoidAccount";
|
providerName = "PrivateVoidAccount";
|
||||||
args = lib.escapeShellArgs [
|
args = lib.escapeShellArgs [
|
||||||
"--name" providerName
|
"--name" providerName
|
||||||
|
|
Loading…
Reference in a new issue