Merge pull request #113198 from Izorkin/update-mastodon-mail

nixos/mastodon: fix send e-mail notifications
This commit is contained in:
Guillaume Girol
2021-10-27 18:20:18 +00:00
committed by GitHub
+2 -1
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;