feat(forgejo): update config

This commit is contained in:
Felix Schröter 2025-02-13 23:28:43 +01:00
parent 3d537fcde0
commit 6679ce62c1
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -35,6 +35,7 @@ in
START_SSH_SERVER = true;
SSH_LISTEN_PORT = sshPort;
BUILTIN_SSH_SERVER_USER = sshUser;
LANDING_PAGE = "explore";
};
service.DISABLE_REGISTRATION = true;
ui = {
@ -45,11 +46,11 @@ in
DEFAULT_ACTIONS_URL = "https://${domain}";
};
mailer = {
# TODO broken: https://github.com/NixOS/nixpkgs/issues/103446
ENABLED = true;
PROTOCOL = "sendmail";
FROM = config.programs.msmtp.accounts.default.from;
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
SENDMAIL_ARGS = "--";
};
};
};