diff --git a/hosts/cube/postgresql.nix b/hosts/cube/postgresql.nix index 84802af..fc10c4c 100644 --- a/hosts/cube/postgresql.nix +++ b/hosts/cube/postgresql.nix @@ -26,14 +26,13 @@ in systemConfiguration { initdbArgs = [ "--locale=C" "--encoding=UTF8" ]; authentication = mkOverride 10 '' - # Type Database DBUser Authentication IdentMap - local sameuser all peer map=superuser_map + # Type Database DBUser Authentication IdentMap + local all @wheel,root,postgres trust + local sameuser all peer map=superuser_map ''; identMap = '' # Map System DBUser - superuser_map root ^(.*)$ - superuser_map postgres ^(.*)$ superuser_map /^(.*)$ \1 '';