restructuring; now works with 17.03/17.09-pre

I had to remove some of the features, they need to be slowely added in
again.
This commit is contained in:
Robin Raymond 2017-08-12 11:27:19 +02:00
parent 54e56926d6
commit 60574841c6
7 changed files with 125 additions and 56 deletions

View file

@ -1,5 +1,5 @@
# nixos-mailserver: a simple mail server
# Copyright (C) 2016 Robin Raymond
# Copyright (C) 2016-2017 Robin Raymond
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -14,12 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
{ config, pkgs, valias_file, vaccounts_file, ... }:
{ valiases_file, vaccounts_file, ... }:
{
services.postfix = {
enable = true;
networksStyle = "host";
mapFiles."valias" = valias_file;
mapFiles."vaccounts" = vaccounts_file;
};
enable = true;
networksStyle = "host";
# mapFiles."valias" = valiases_file;
# mapFiles."vaccounts" = vaccounts_file;
}