mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
feat(nextcloud): set email via module
This commit is contained in:
@@ -20,6 +20,8 @@ in {
|
|||||||
|
|
||||||
hostName = "cloud.xn--kiern-0qa.de";
|
hostName = "cloud.xn--kiern-0qa.de";
|
||||||
|
|
||||||
|
phpOptions."opcache.interned_strings_buffer" = "32"; # buffer size in MB
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
overwriteProtocol = "https";
|
overwriteProtocol = "https";
|
||||||
|
|
||||||
@@ -34,11 +36,25 @@ in {
|
|||||||
defaultPhoneRegion = "DE";
|
defaultPhoneRegion = "DE";
|
||||||
};
|
};
|
||||||
|
|
||||||
logLevel = 0;
|
logLevel = 2;
|
||||||
# logType = "systemd";
|
|
||||||
# phpExtensions = all: [ all.php-systemd ];
|
|
||||||
|
|
||||||
# extraOptions = { };
|
extraOptions = let
|
||||||
|
inherit (import <niveum/lib/email.nix> {inherit lib;}) cock;
|
||||||
|
address = builtins.split "@" cock.user;
|
||||||
|
in {
|
||||||
|
defaultapp = "files";
|
||||||
|
mail_smtpmode = "smtp";
|
||||||
|
mail_sendmailmode = "smtp";
|
||||||
|
mail_smtphost = cock.smtp;
|
||||||
|
mail_smtpport = "587";
|
||||||
|
mail_from_address = builtins.elemAt address 0;
|
||||||
|
mail_domain = builtins.elemAt address 2;
|
||||||
|
mail_smtpsecure = "tls";
|
||||||
|
mail_smtpauthtype = "LOGIN";
|
||||||
|
mail_smtpauth = 1;
|
||||||
|
mail_smtpname = cock.user;
|
||||||
|
mail_smtppassword = cock.password;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
niveum.passport.services = [
|
niveum.passport.services = [
|
||||||
|
|||||||
Reference in New Issue
Block a user