Add forgejo

This commit is contained in:
Артём Белоусов 2026-03-07 16:43:15 +03:00
parent f9ce1decf6
commit 6f3c7e234d

View file

@ -76,6 +76,21 @@ in
reverse_proxy localhost:8080 reverse_proxy localhost:8080
''; '';
}; };
"git.flygrounder.ru" = {
extraConfig = ''
reverse_proxy localhost:7237
'';
};
};
};
forgejo = {
enable = true;
settings = {
service.DISABLE_REGISTRATION = true;
server = {
ROOT_URL = "https://git.flygrounder.ru/";
HTTP_PORT = 7237;
};
}; };
}; };
stalwart = { stalwart = {
@ -236,5 +251,9 @@ in
service = "vaultwarden"; service = "vaultwarden";
path = "/var/lib/vaultwarden"; path = "/var/lib/vaultwarden";
}; };
forgejo = mkBackup {
service = "forgejo";
path = config.services.forgejo.stateDir;
};
}; };
} }