From 2563e2af2261e11ee1f8335893c67b8f5e2aada1 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sat, 30 Dec 2023 00:24:45 +0100 Subject: [PATCH] Set push to create to true --- nixos/package-configs/gitea/configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nixos/package-configs/gitea/configuration.nix b/nixos/package-configs/gitea/configuration.nix index 2c9f7a4..3e4f2b1 100644 --- a/nixos/package-configs/gitea/configuration.nix +++ b/nixos/package-configs/gitea/configuration.nix @@ -25,6 +25,23 @@ type = "postgres"; }; settings = { + "cron.sync_external_users" = { + RUN_AT_START = true; + SCHEDULE = "@every 24h"; + UPDATE_EXISTING = true; + }; + mailer = { + ENABLED = true; + MAILER_TYPE = "sendmail"; + FROM = "no-reply@git.lillianviolet.dev"; + SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail"; + }; + repository = { + ENABLE_PUSH_CREATE_USER = true; + }; + other = { + SHOW_FOOTER_VERSION = false; + }; service.DISABLE_REGISTRATION = true; server = { DOMAIN = "git.lillianviolet.dev";