diff options
author | Izorkin <izorkin@elven.pw> | 2021-02-13 17:49:13 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2021-10-26 10:59:39 +0300 |
commit | 1d948428c893ded64e92502a394abc59be130a91 (patch) | |
tree | f5348de17612d90d72621762f27158a1a8da254c /nixos/modules | |
parent | 23f71e9427c7cd2a6f87a167b4f6dc170b4431df (diff) |
nixos/mastodon: fix send e-mail notifications
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-apps/mastodon.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mastodon.nix b/nixos/modules/services/web-apps/mastodon.nix index d3790d8b1760a..2458cb3b59424 100644 --- a/nixos/modules/services/web-apps/mastodon.nix +++ b/nixos/modules/services/web-apps/mastodon.nix @@ -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; |