From 3b769bbc5fb9458d691df6c184973fb69af60f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 17 Aug 2022 20:35:06 +0100 Subject: [PATCH] we need to force it this value bruh --- config/services/postfix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/services/postfix.nix b/config/services/postfix.nix index d5aa2fa1..d7fbffa3 100644 --- a/config/services/postfix.nix +++ b/config/services/postfix.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +{lib, pkgs, ...}: { nixpkgs.overlays = [ (curr: prev: { postfix = prev.postfix.override { @@ -25,7 +25,7 @@ sslCert = "/var/lib/acme/chir.rs/cert.pem"; sslKey = "/var/lib/acme/chir.rs/key.pem"; config = { - smtpd_tls_security_level = "encrypt"; + smtpd_tls_security_level = lib.mkForce "encrypt"; smtp_tls_security_level = "encrypt"; virtual_alias_domains = "pgsql:/run/secrets/services/postfix/virtual_alias_domains.cf";