fix zulip?
This commit is contained in:
@@ -8,25 +8,39 @@
|
|||||||
# host domain
|
# host domain
|
||||||
host = "chat.${config.networking.domain}";
|
host = "chat.${config.networking.domain}";
|
||||||
|
|
||||||
# secrets
|
# secrets; head rolled on keyboard for all :)
|
||||||
camoKeyFile = builtins.toString config.age.secrets.zulip-camoKey.path;
|
camoKeyFile = builtins.toString config.age.secrets.zulip-camoKey.path;
|
||||||
rabbitmqPasswordFile = builtins.toString config.age.secrets.zulip-rabbitmqPassword.path;
|
rabbitmqPasswordFile = builtins.toString config.age.secrets.zulip-rabbitmqPassword.path;
|
||||||
secretKeyFile = builtins.toString config.age.secrets.zulip-secretKey.path;
|
secretKeyFile = builtins.toString config.age.secrets.zulip-secretKey.path;
|
||||||
sharedSecretKeyFile = builtins.toString config.age.secrets.zulip-sharedSecretKey.path;
|
sharedSecretKeyFile = builtins.toString config.age.secrets.zulip-sharedSecretKey.path;
|
||||||
avatarSaltKeyFile = builtins.toString config.age.secrets.zulip-avatarSaltKey.path;
|
avatarSaltKeyFile = builtins.toString config.age.secrets.zulip-avatarSaltKey.path;
|
||||||
extraSecrets = {
|
|
||||||
email_password = builtins.toString config.age.secrets.zulip-extraSecrets-email_password.path;
|
# TODO check for parity with `mailserver-acc-admin-pw.age`
|
||||||
};
|
extraSecrets.email_password = builtins.toString config.age.secrets.zulip-extraSecrets-email_password.path;
|
||||||
|
|
||||||
# settings
|
# settings
|
||||||
zulipSettings = rec {
|
zulipSettings = rec {
|
||||||
EMAIL_USE_TLS = true;
|
# email settings
|
||||||
EMAIL_PORT = 587;
|
ZULIP_ADMINISTRATOR = "admin@${config.networking.domain}";
|
||||||
|
|
||||||
|
# configure mailserver port
|
||||||
|
EMAIL_HOST = config.mailserver.fqdn;
|
||||||
|
EMAUL_USE_TLS = config.mailserver.enableSubmissionSsl;
|
||||||
|
EMAIL_PORT =
|
||||||
|
if config.mailserver.enableSubmissionSsl
|
||||||
|
then 465
|
||||||
|
else 587;
|
||||||
|
|
||||||
|
# setting to allow realm creation; probably unsafe, might delete later :3
|
||||||
|
OPEN_REALM_CREATION = true;
|
||||||
|
|
||||||
|
# send all noreply emails from `admin@galaxious.de`
|
||||||
|
# TODO configure admin to send from any address
|
||||||
ADD_TOKENS_TO_NOREPLY_ADDRESS = false;
|
ADD_TOKENS_TO_NOREPLY_ADDRESS = false;
|
||||||
NOREPLY_EMAIL_ADDRESS = ZULIP_ADMINISTRATOR;
|
NOREPLY_EMAIL_ADDRESS = ZULIP_ADMINISTRATOR;
|
||||||
OPEN_REALM_CREATION = true;
|
|
||||||
|
# domain name
|
||||||
EXTERNAL_HOST = config.services.zulip.host;
|
EXTERNAL_HOST = config.services.zulip.host;
|
||||||
ZULIP_ADMINISTRATOR = "admin@${config.networking.domain}";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user