diff --git a/nixos/modules/services/databases/postgrest.nix b/nixos/modules/services/databases/postgrest.nix index e9e03089a8b2..5cd90db3609a 100644 --- a/nixos/modules/services/databases/postgrest.nix +++ b/nixos/modules/services/databases/postgrest.nix @@ -247,7 +247,7 @@ in # Since we're using DynamicUser, we can't add the e.g. nginx user to # a postgrest group, so the unix socket must be world-readable to make it useful. - services.postgrest.settings.service-unix-socket-mode = "666"; + services.postgrest.settings.server-unix-socket-mode = "666"; systemd.services.postgrest = { description = "PostgREST";