Switch to a multihost/home-manager setup

This commit is contained in:
2026-07-07 06:45:07 +01:00
parent 2d21314705
commit f8a8083a07
19 changed files with 388 additions and 390 deletions
+25
View File
@@ -0,0 +1,25 @@
{ ... }:
{
services.gitea = {
enable = true;
appName = "My personal projects.";
database.type = "sqlite3";
settings = {
server = {
DOMAIN = "git.syedm.dev";
ROOT_URL = "https://git.syedm.dev/";
HTTP_ADDR = "0.0.0.0";
HTTP_PORT = 3000;
SSH_DOMAIN = "git.syedm.dev";
SSH_PORT = 22;
};
service = {
DISABLE_REGISTRATION = true;
REQUIRE_SIGNIN_VIEW = false;
};
session.COOKIE_SECURE = true;
log.LEVEL = "Info";
};
};
}