18 lines
385 B
Nix
18 lines
385 B
Nix
{ ... }:{
|
|
users = {
|
|
groups."vmail" = {};
|
|
users = {
|
|
"vmail" = {
|
|
isSystemUser = true;
|
|
group = "vmail";
|
|
home = "/var/spool/mail/vmail";
|
|
createHome = true;
|
|
};
|
|
# Permissions to allow Postfix and Dovecot to read ACME certificates
|
|
"postfix".extraGroups = [ "acme" ];
|
|
"dovecot2".extraGroups = [ "acme" ];
|
|
};
|
|
};
|
|
}
|
|
|