19 lines
438 B
Nix
19 lines
438 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
specialisation.giteaEnableRegistration.configuration.services.gitea.settings.service.DISABLE_REGISTRATION = false;
|
|
services.gitea = {
|
|
enable = true;
|
|
# TODO: Make this not be hardcoded
|
|
settings = {
|
|
server = {
|
|
#server.SSH_PORT = 69;
|
|
DISABLE_REGISTRATION = lib.mkDefault true;
|
|
ROOT_URL = "http://everest.local:3000";
|
|
};
|
|
};
|
|
};
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 3000 ];
|
|
};
|
|
}
|