Add forgejo

This commit is contained in:
Chandler Swift 2024-11-05 23:47:48 -06:00
parent 8afb236c52
commit 0e4a2c5b9d
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
4 changed files with 26 additions and 0 deletions

19
bert/services/forgejo.nix Normal file
View file

@ -0,0 +1,19 @@
{
services.forgejo = {
enable = true;
settings = {
DEFAULT = {
APP_NAME = "Forgejo: Beyond coding. We Forge."; # TODO
};
server = {
# USE_PROXY_PROTOCOL = true;
DOMAIN = "git.chandlerswift.com";
#SSH_DOMAIN = "git.chandlerswift.com";
ROOT_URL = "https://git.chandlerswift.com/";
HTTP_PORT = 3001;
LANDING_PAGE = "/chandlerswift";
};
service.DISABLE_REGISTRATION = true;
};
};
}