From 2f95cf9b5c7393d1c624e45673ccb90b62b71caa Mon Sep 17 00:00:00 2001 From: kat witch Date: Sat, 11 Sep 2021 01:08:29 +0100 Subject: [PATCH] services/mail/postfix: further buildability fix attempt --- config/services/mail/postfix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/services/mail/postfix.nix b/config/services/mail/postfix.nix index c026feb8..4bc7abed 100644 --- a/config/services/mail/postfix.nix +++ b/config/services/mail/postfix.nix @@ -13,8 +13,8 @@ let ''; helo_access = pkgs.writeText "helo_access" '' - ${config.network.addresses.public.nixos.ipv4.selfaddress} REJECT Get lost - you're lying about who you are - ${config.network.addresses.public.nixos.ipv6.selfaddress} REJECT Get lost - you're lying about who you are + ${if tf.state.enable then config.network.addresses.public.nixos.ipv4.selfaddress else ""} REJECT Get lost - you're lying about who you are + ${if tf.state.enable then config.network.addresses.public.nixos.ipv6.selfaddress else ""} REJECT Get lost - you're lying about who you are kittywit.ch REJECT Get lost - you're lying about who you are dork.dev REJECT Get lost - you're lying about who you are '';