Define groups for mailserver users

This commit is contained in:
niten 2023-09-23 16:17:35 -07:00
parent 30d83986a9
commit 7a08fbbd41
1 changed files with 21 additions and 12 deletions

View File

@ -136,19 +136,28 @@ in {
};
};
users.users = {
mailserver-dovecot = {
uid = 4455;
isSystemUser = true;
users = {
users = {
mailserver-dovecot = {
uid = 4455;
isSystemUser = true;
group = "mailserver-dovecot";
};
mailserver-antivirus = {
uid = 4456;
isSystemUser = true;
group = "mailserver-antivirus";
};
mailserver-dkim = {
uid = 4457;
isSystemUser = true;
group = "mailserver-dkim";
};
};
mailserver-antivirus = {
uid = 4456;
isSystemUser = true;
};
mailserver-dkim = {
uid = 4457;
isSystemUser = true;
groups = {
mailserver-dovecot = { };
mailserver-antivirus = { };
mailserver-dkim = { };
};
};