try to setup gitea

This commit is contained in:
2026-06-10 11:18:48 +03:00
parent ebd2e99066
commit 8df496a9c2
5 changed files with 74 additions and 38 deletions
+27
View File
@@ -0,0 +1,27 @@
{
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;
};
};
};
};
systemd.tmpfiles.rules = [
"z ${config.services.gitea.stateDir} 0755 gitea gitea -"
];
}