Set cfg in postfix.nix

This commit is contained in:
niten 2023-09-24 14:45:04 -07:00
parent fb66fb77e6
commit 9ff86ef7c7
1 changed files with 4 additions and 1 deletions

View File

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