From ddbba09441a8e04044b1c85a8598683d0220bb4c Mon Sep 17 00:00:00 2001 From: schweby Date: Wed, 27 Jan 2021 17:12:55 +0100 Subject: [PATCH] hainich/sympa: first try to generate config --- hosts/hainich/services/sympa.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/hosts/hainich/services/sympa.nix b/hosts/hainich/services/sympa.nix index 2355c38..8c984e4 100644 --- a/hosts/hainich/services/sympa.nix +++ b/hosts/hainich/services/sympa.nix @@ -1,8 +1,13 @@ -services.sympa = { - enable = true; - lang = "de"; - domains"lists.infra4future.de".webHost = "lists.infra4future.de"; - domains"lists.hacc.space".webHost = "lists.hacc.space"; - listMasters = postmaster@hacc.space - mainDomain = "lists.infra4future.de" - settings \ No newline at end of file +{ config, lib, pkgs, ... }: + +{ + services.sympa = { + enable = true; + lang = "de"; + domains."lists.infra4future.de".webHost = "lists.infra4future.de"; + domains."lists.hacc.space".webHost = "lists.hacc.space"; + listMasters = [ "postmaster@hacc.space" ]; + mainDomain = "lists.infra4future.de" + }; + +}