nixos/mastodon: fix send e-mail notifications

This commit is contained in:
Izorkin 2021-02-13 17:49:13 +03:00
parent 23f71e9427
commit 1d948428c8
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -344,7 +344,7 @@ in {
authenticate = lib.mkOption {
description = "Authenticate with the SMTP server using username and password.";
type = lib.types.bool;
default = true;
default = false;
};
host = lib.mkOption {
@ -596,6 +596,7 @@ in {
services.postfix = lib.mkIf (cfg.smtp.createLocally && cfg.smtp.host == "127.0.0.1") {
enable = true;
hostname = lib.mkDefault "${cfg.localDomain}";
};
services.redis = lib.mkIf (cfg.redis.createLocally && cfg.redis.host == "127.0.0.1") {
enable = true;