1
0
Fork 0

fix mailman

This commit is contained in:
Malte Brandy 2022-06-03 00:55:33 +02:00
parent 3ca63fb028
commit 8d72814824

View file

@ -6,14 +6,13 @@
}: let
hostname = "lists.maralorn.de";
admin = "malte.brandy@maralorn.de";
cfg = config.services.mailman;
lists = pkgs.privateValue {} "mail/lists";
in {
systemd.services.mailman.postStart = lib.concatStringsSep "\n" (
map
(
x: ''
${cfg.package}/bin/mailman syncmembers -W -G - "${x}" << EOF
${pkgs.mailman}/bin/mailman syncmembers -W -G - "${x}" << EOF
${lib.concatStringsSep "\n" lists."${x}"}
EOF
''