moving to gitea

This commit is contained in:
2025-01-12 16:32:30 -06:00
parent 07165a0f3c
commit 2854ce3422
4 changed files with 16 additions and 5 deletions

View File

@@ -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";
};