fix(nix): configure forgejo

This commit is contained in:
Lucas Sta Maria 2025-08-12 14:59:31 +00:00
parent e8e5d6e705
commit 68c9475a94
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -104,6 +104,28 @@
''; '';
}; };
}; };
"git.priime.dev" = {
forceSSL = true;
enableACME = true;
extraConfig = ''
client_max_body_size 512M;
'';
locations."/".proxyPass = "http://localhost:3000";
};
};
};
services.forgejo = {
enable = true;
database.type = "postgres";
lfs.enable = true;
settings = {
server = {
DOMAIN = "git.priime.dev";
ROOT_URL = "https://git.priime.dev/";
HTTP_PORT = 3000;
};
service.DISABLE_REGISTRATION = true;
}; };
}; };