diff --git a/mail-server.nix b/mail-server.nix
index f661fd3..65d2b54 100644
--- a/mail-server.nix
+++ b/mail-server.nix
@@ -14,7 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
-{ 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/";
diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix
index 0a751d1..2af17b4 100644
--- a/mail-server/dovecot.nix
+++ b/mail-server/dovecot.nix
@@ -14,7 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
-{ 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
# . We choose
diff --git a/mail-server/postfix.nix b/mail-server/postfix.nix
index bd80bcd..2d69a74 100644
--- a/mail-server/postfix.nix
+++ b/mail-server/postfix.nix
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see
-{ config, pkgs, ... }:
+{ config, pkgs, valias_file, vaccounts_file, ... }:
{
services.postfix = {
enable = true;