diff --git a/nixos/modules/services/mail/postgrey.nix b/nixos/modules/services/mail/postgrey.nix index ab0ffe7515db..7bf1c30fc672 100644 --- a/nixos/modules/services/mail/postgrey.nix +++ b/nixos/modules/services/mail/postgrey.nix @@ -52,7 +52,10 @@ in { }; socket = mkOption { type = socket; - default = { path = "/var/run/postgrey.sock"; }; + default = { + path = "/var/run/postgrey.sock"; + mode = "0777"; + }; example = { addr = "127.0.0.1"; port = 10030;