containers/citrine: customise homepage and disable registrations

This commit is contained in:
Cilly Leang 2026-03-16 02:04:31 +11:00
parent 2a27838974
commit d577030892
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 25 additions and 1 deletions

View file

@ -3,16 +3,21 @@
networking.firewall.allowedTCPPorts = [ 3000 ];
networking.firewall.allowedUDPPorts = [ 3000 ];
systemd.tmpfiles.rules = [
"L+ /persist/forgejo/custom/templates - - - - ${./templates}"
];
services.forgejo = {
enable = true;
lfs.enable = true;
settings = {
DEFAULT.APP_NAME = "Garden";
server = {
DOMAIN = "garden.lava.moe";
ROOT_URL = "https://garden.lava.moe/";
HTTP_PORT = 3000;
};
service.DISABLE_REGISTRATION = false;
service.DISABLE_REGISTRATION = true;
};
stateDir = "/persist/forgejo";
};