fix arguments of functions

This commit is contained in:
Robin Raymond 2017-08-11 14:05:58 +02:00
parent 9d7716d262
commit 938158b3a6
3 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,8 @@
# 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, ... }:
{ config, pkgs, mail_dir, vmail_user_name, vmail_id_start, vmail_group_name,
domain, login_accounts, valiases, host_prefix, ... }:
let
dovecot_maildir = "maildir:" + mail_dir + "/%d/%n/";

View File

@ -14,7 +14,8 @@
# 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, ... }:
{ config, pkgs, vmail_group_name, vmail_user_name, dovecot_maildir, enable_imap,
enable_pop3, ... }:
{
# Set the correct permissions for dovecot vmail folder. See
# <http://wiki2.dovecot.org/SharedMailboxes/Permissions>. We choose

View File

@ -14,7 +14,7 @@
# 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, ... }:
{ config, pkgs, valias_file, vaccounts_file, ... }:
{
services.postfix = {
enable = true;