1
0
Fork 0

forgejo: Switch to forgejo module

This commit is contained in:
Daniel Kempkens 2023-10-02 19:14:00 +02:00
parent aa430b6499
commit 414fb8ae48
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -5,9 +5,8 @@ let
in in
{ {
services = { services = {
gitea = { forgejo = {
enable = true; enable = true;
package = pkgs.forgejo;
stateDir = "/var/lib/forgejo"; stateDir = "/var/lib/forgejo";
@ -17,9 +16,11 @@ in
lfs.enable = true; lfs.enable = true;
appName = "kempkens.io Forge";
settings = { settings = {
DEFAULT = {
APP_NAME = "kempkens.io Forge";
};
server = { server = {
PROTOCOL = "http+unix"; PROTOCOL = "http+unix";
DOMAIN = fqdn; DOMAIN = fqdn;
@ -67,7 +68,7 @@ in
locations."/" = { locations."/" = {
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://unix:/run/gitea/gitea.sock"; proxyPass = "http://unix:/run/forgejo/forgejo.sock";
}; };
}; };
}; };