containers/citrine: init

This commit is contained in:
Cilly Leang 2026-03-16 00:48:51 +11:00
parent 249942280d
commit 36f214f2a4
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 133 additions and 5 deletions

View file

@ -0,0 +1,19 @@
{ ... }: {
system.stateVersion = "25.11";
networking.firewall.allowedTCPPorts = [ 3000 ];
networking.firewall.allowedUDPPorts = [ 3000 ];
services.forgejo = {
enable = true;
lfs.enable = true;
settings = {
server = {
DOMAIN = "garden.lava.moe";
ROOT_URL = "https://garden.lava.moe/";
HTTP_PORT = 3000;
};
service.DISABLE_REGISTRATION = false;
};
stateDir = "/persist/forgejo";
};
}