summary refs log tree commit diff
path: root/nixos/modules/services/mail
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-20 17:56:59 +0000
committervolth <volth@volth.com>2018-07-20 18:48:37 +0000
commit87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch)
treed76aa79bc394e820305c4eebbd250c89f6992eb9 /nixos/modules/services/mail
parenta7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff)
downloadnixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.gz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.bz2
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.lz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.xz
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.zst
nixlib-87f5930c3fb2c852f5243278b7a9da8e117d95e4.zip
[bot]: remove unreferenced code
Diffstat (limited to 'nixos/modules/services/mail')
-rw-r--r--nixos/modules/services/mail/dovecot.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index a3eb1653df5b..04df97fdbbec 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -9,8 +9,6 @@ let
   baseDir = "/run/dovecot2";
   stateDir = "/var/lib/dovecot";
 
-  canCreateMailUserGroup = cfg.mailUser != null && cfg.mailGroup != null;
-
   dovecotConf = concatStrings [
     ''
       base_dir = ${baseDir}