nixos/stalwart-mail: use publicsuffix-list package

Co-authored-by: shawn8901 <shawn8901@googlemail.com>
This commit is contained in:
Jonas Heinrich 2024-05-21 21:06:46 +02:00
parent 4c626c52b7
commit 2c4128ea01

View File

@ -70,7 +70,9 @@ in {
storage.lookup = mkDefault "db"; storage.lookup = mkDefault "db";
storage.blob = mkDefault "blob"; storage.blob = mkDefault "blob";
resolver.type = mkDefault "system"; resolver.type = mkDefault "system";
resolver.public-suffix = mkDefault ["https://publicsuffix.org/list/public_suffix_list.dat"]; resolver.public-suffix = lib.mkDefault [
"file://${pkgs.publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
];
}; };
systemd.services.stalwart-mail = { systemd.services.stalwart-mail = {