we need to force it this value bruh

This commit is contained in:
Charlotte 🦝 Delenk 2022-08-17 20:35:06 +01:00
parent 13f8cc57fd
commit 3b769bbc5f
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -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";