diff options
author | Guillaume Girol <symphorien@users.noreply.github.com> | 2021-10-27 18:20:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 18:20:18 +0000 |
commit | 6faa5581fd15f789c191998407fcdef8c3af076a (patch) | |
tree | 41e619fce628990c4ef6b330cce66b45c54a93e8 /nixos | |
parent | e536477d63d8e3dbf16bfb47bab273f657f1620d (diff) | |
parent | 1d948428c893ded64e92502a394abc59be130a91 (diff) | |
download | nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar.gz nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar.bz2 nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar.lz nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar.xz nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.tar.zst nixlib-6faa5581fd15f789c191998407fcdef8c3af076a.zip |
Merge pull request #113198 from Izorkin/update-mastodon-mail
nixos/mastodon: fix send e-mail notifications
Diffstat (limited to 'nixos')
-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 d3790d8b1760..2458cb3b5942 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; |