From bbdcdfc0a7673a70a525946c7cb4f4ce816cfe7a Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Wed, 18 Oct 2017 09:20:44 +0200 Subject: [PATCH] fix vmail bug --- default.nix | 4 ++-- mail-server/users.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index 2a36ae7..6a07f7e 100644 --- a/default.nix +++ b/default.nix @@ -113,7 +113,7 @@ in vmailUserName = mkOption { type = types.str; - default = "vmail"; + default = "virtualMail"; description = '' The user name and group name of the user that owns the directory where all the mail is stored. @@ -122,7 +122,7 @@ in vmailGroupName = mkOption { type = types.str; - default = "vmail"; + default = "virtualMail"; description = '' The user name and group name of the user that owns the directory where all the mail is stored. diff --git a/mail-server/users.nix b/mail-server/users.nix index a519985..a8cbcc9 100644 --- a/mail-server/users.nix +++ b/mail-server/users.nix @@ -20,12 +20,12 @@ with config.mailserver; let vmail_user = [{ - name = "vmail2"; + name = vmailUserName; isNormalUser = false; uid = vmailUIDStart; home = mailDirectory; createHome = true; - group = "vmail2"; + group = vmailGroupName; }]; # accountsToUser :: String -> UserRecord