This commit is contained in:
nicknase27
2026-07-25 23:26:39 +02:00
commit fadcad2d0b
23 changed files with 714 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
pkgs,
config,
lib,
...
}: {
services.gitea = {
enable = true;
database = {
type = "sqlite3";
passwordFile = "${config.age.secrets.gitea-db.path}";
};
settings = {
server = {
DOMAIN = "git.nicknase27.com";
ROOT_URL = "https://git.nicknase27.com";
};
};
};
age.secrets.gitea-db = {
file = ../../secrets/gitea-db.age;
path = "/run/secrets/gitea-db";
mode = "777";
};
}