nixos/dovecot: set isSystemUser for mailUser

needed after 7a87973b4c
This commit is contained in:
ajs124 2021-04-16 00:42:43 +02:00
parent 3cee82ace3
commit 6637ce9fd8

View File

@ -405,7 +405,7 @@ in
};
} // optionalAttrs (cfg.createMailUser && cfg.mailUser != null) {
${cfg.mailUser} =
{ description = "Virtual Mail User"; } // optionalAttrs (cfg.mailGroup != null)
{ description = "Virtual Mail User"; isSystemUser = true; } // optionalAttrs (cfg.mailGroup != null)
{ group = cfg.mailGroup; };
};