.
This commit is contained in:
parent
b8402a9049
commit
cfb31d3b01
4 changed files with 30 additions and 5 deletions
16
services/forgejo.nix
Normal file
16
services/forgejo.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 3000 ];
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings.service.DISABLE_REGISTRATION = true;
|
||||
settings.server = {
|
||||
DOMAIN = "forgejo.ellie.town";
|
||||
ROOT_URL = "https://forgejo.ellie.town/";
|
||||
HTTP_ADDR = "10.10.0.2";
|
||||
HTTP_PORT = 3000;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue