]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet/mlmmj.nix
losurdo: remove dependency on nix-plugins
[sourcephile-nix.git] / machines / mermet / mlmmj.nix
1 { pkgs, lib, config, ... }:
2 let
3 inherit (builtins) attrNames concatStringsSep readFile toPath;
4 inherit (builtins.extraBuiltins) pass;
5 inherit (lib) types;
6 inherit (pkgs.lib) loadFile unlines unwords unlinesAttrs;
7 inherit (config) networking users;
8 inherit (config.services) postfix dovecot2 openldap;
9 domain = "sourcephile.fr";
10 in
11 {
12 services.mlmmj = {
13 enable = true;
14 listDomain = domain;
15 mailLists = [
16 "contact"
17 ];
18 postfix.enable = true;
19 };
20 }