nix/hosts/marvin/services/gitea.nix

30 lines
738 B
Nix
Raw Normal View History

2022-07-02 14:00:09 +00:00
{
services.gitea = {
enable = true;
2022-07-02 21:23:49 +00:00
domain = "git.thehedgehog.me";
rootUrl = "https://git.thehedgehog.me";
2022-07-02 14:00:09 +00:00
appName = "HedgeGit";
httpPort = 3001;
2022-07-23 13:37:08 +00:00
ssh.enable = false;
2022-07-02 14:00:09 +00:00
lfs.enable = true;
cookieSecure = true;
database.type = "postgres";
database.createDatabase = true;
database.passwordFile = "/run/agenix/gitea-db-pw";
mailerPasswordFile = "/run/agenix/gitea-mail-pw";
settings = {
mailer = {
ENABLED = true;
FROM = "git@thehedgehog.me";
MAILER_TYPE = "smtp";
HOST = "smtp.migadu.com:465";
IS_TLS_ENABLED = true;
USER = "git@thehedgehog.me";
};
picture = {
ENABLE_FEDERATED_AVATAR = true;
};
};
};
}