try to setup gitea

This commit is contained in:
2026-06-10 11:18:48 +03:00
parent ebd2e99066
commit b2b4883627
7 changed files with 91 additions and 40 deletions
+28
View File
@@ -0,0 +1,28 @@
{
config,
inputs,
lib,
pkgs,
xlib,
...
}:
{
services = {
gitea = {
enable = true;
stateDir = "${xlib.dirs.services-mnt-folder}/gitea";
appName = "ZeroQ Gitea Service";
settings = {
server = {
DOMAIN = "gitea.local";
HTTP_PORT = 3000;
};
service.DISABLE_REGISTRATION = true;
};
};
};
systemd.tmpfiles.rules = [
"z ${config.services.gitea.stateDir} 0755 gitea gitea -"
];
}