containers/citrine: init
This commit is contained in:
parent
249942280d
commit
36f214f2a4
6 changed files with 133 additions and 5 deletions
19
containers/citrine/configuration.nix
Normal file
19
containers/citrine/configuration.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue