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