nix-deploy/config/hosts/wind/services/gitea.nix

18 lines
442 B
Nix

{ ... }:
{
services.gitea = {
enable = true;
appName = "Graven Gitea";
settings = { "ui" = { "DEFAULT_THEME" = "arc-green"; }; };
database = {
type = "postgres";
};
settings.service.DISABLE_REGISTRATION = true;
settings.session.COOKIE_SECURE = true;
settings.server.DOMAIN = "git.graven.dev";
settings.server.ROOT_URL = "https://git.graven.dev";
settings.server.PROTOCOL = "http+unix";
};
}