Platform Unstable #97

Merged
max merged 34 commits from platform-unstable into master 2024-06-07 00:17:36 +03:00
Showing only changes of commit efe0ede612 - Show all commits

View file

@ -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