2023-12-17 11:39:52 +02:00
|
|
|
inputs: { config, pkgs, ... }: {
|
|
|
|
services = {
|
|
|
|
/*
|
|
|
|
postgresql = {
|
|
|
|
ensureDatabases = [ config.services.gitea.user ];
|
|
|
|
ensureUsers = [
|
|
|
|
{
|
|
|
|
name = config.services.gitea.database.user;
|
|
|
|
ensurePermissions."DATABASE ${config.services.gitea.database.name}" = "ALL PRIVILEGES";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
*/
|
|
|
|
gitea = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.forgejo;
|
|
|
|
appName = "Graphite's Forge";
|
|
|
|
domain = "git.gra.phite.ro";
|
|
|
|
rootUrl = "https://git.gra.phite.ro";
|
2024-01-20 23:07:14 +02:00
|
|
|
settings = {
|
|
|
|
server = {
|
|
|
|
HTTP_PORT = 3004;
|
|
|
|
};
|
|
|
|
};
|
2023-12-17 11:39:52 +02:00
|
|
|
lfs.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|