moving to gitea
This commit is contained in:
@@ -68,12 +68,21 @@
|
||||
|
||||
dump.enable = true;
|
||||
|
||||
appName = "Gitea";
|
||||
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "gitea.blunkall.us";
|
||||
HTTP_PORT = 80;
|
||||
HTTP_PORT = 3000;
|
||||
ROOT_URL = "https://gitea.blunkall.us/";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = false;
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = true;
|
||||
};
|
||||
oauth2_client = {
|
||||
ENABLE_AUTO_REGISTRATION = true;
|
||||
};
|
||||
service.DISABLE_REGISTRATION = false;
|
||||
session.COOKIE_SECURE = true;
|
||||
};
|
||||
|
||||
@@ -84,7 +93,7 @@
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 80 ];
|
||||
networking.firewall.allowedTCPPorts = [ 22 3000 ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user