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

18 lines
394 B
Nix

{ ... }:
{
services.gitea = {
enable = true;
domain = "git.graven.dev";
rootUrl = "https://git.graven.dev";
enableUnixSocket = true;
appName = "Graven Gitea";
settings = { "ui" = { "DEFAULT_THEME" = "arc-green"; }; };
database = {
type = "postgres";
};
settings.service.DISABLE_REGISTRATION = true;
settings.session.COOKIE_SECURE = true;
};
}