mailsystem: Use newly added 'mailnix' package to generate postfix/dovecot files
This commit is contained in:
parent
955a0ec8ba
commit
c1b19d6e33
9 changed files with 52 additions and 85 deletions
|
|
@ -4,7 +4,7 @@
|
|||
lib,
|
||||
...
|
||||
}:
|
||||
with (import ./common.nix {inherit config;}); let
|
||||
with (import ./common.nix {inherit config pkgs;}); let
|
||||
cfg = config.mailsystem;
|
||||
in {
|
||||
config = lib.mkIf (cfg.enable && cfg.certificateScheme == "selfsigned") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue