diff --git a/postfix.nix b/postfix.nix index 03709ae..3a1d955 100644 --- a/postfix.nix +++ b/postfix.nix @@ -1,7 +1,10 @@ { config, lib, pkgs, ... }: with lib; -let allDomains = [ cfg.domain ] ++ cfg.local-domains; +let + cfg = config.fudo.mail.postfix; + + allDomains = [ cfg.domain ] ++ cfg.local-domains; in { options.fudo.mail.postfix = with types; {