From 9ff86ef7c7a9d3719d55244301a73e3635f29ebb Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 24 Sep 2023 14:45:04 -0700 Subject: [PATCH] Set cfg in postfix.nix --- postfix.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; {