From 72dc6157b6f4fc0db572a66b3b10150112019914 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Sun, 7 Dec 2025 22:37:39 -0500 Subject: Upgrade to NixOS 25.11 The auth_header Home Assistant custom component has been removed. For now we use the last package from: https://github.com/NixOS/nixpkgs/blob/7f88a8b9efaf0e08e63e3806b2b3f42fd83fde91/pkgs/servers/home-assistant/custom-components/auth-header/package.nix --- hostnix/elmo/email.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'hostnix/elmo/email.nix') diff --git a/hostnix/elmo/email.nix b/hostnix/elmo/email.nix index ee169f2..71f85c9 100644 --- a/hostnix/elmo/email.nix +++ b/hostnix/elmo/email.nix @@ -81,19 +81,20 @@ services.postfix = { enable = true; - hostname = config.networking.fqdn; - relayHost = "smtp.mou.fo"; - relayPort = 587; - sslCert = "/var/lib/postfix/tls/live/fullchain.pem"; - sslKey = "/var/lib/postfix/tls/live/key.pem"; extraAliases = '' root: joe joe: joe@mou.fo ''; - config = { + settings.main = { + myhostname = config.networking.fqdn; + relayhost = [ "smtp.mou.fo:587" ]; + smtp_tls_chain_files = [ + "/var/lib/postfix/tls/live/key.pem" + "/var/lib/postfix/tls/live/fullchain.pem" + ]; smtp_tls_security_level = "encrypt"; smtp_tls_session_cache_database = "btree:\${data_directory}/smtp_scache"; - message_size_limit = "51200000"; + message_size_limit = 51200000; default_destination_rate_delay = "1s"; }; }; -- cgit v1.3.1