nixos-dotfiles/hosts/titan/services/forge.nix
Alex Stan e0d4455fb5 "What did you self-host?" "Y E S"
Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
2023-12-17 11:39:52 +02:00

23 lines
564 B
Nix

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";
lfs.enable = true;
};
};
}