diff --git a/hosts/cube/postgresql.nix b/hosts/cube/postgresql.nix index 84802af..54c3891 100644 --- a/hosts/cube/postgresql.nix +++ b/hosts/cube/postgresql.nix @@ -26,12 +26,12 @@ 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 sameuser all peer map=superuser_map ''; identMap = '' - # Map System DBUser + # Map System DBUser superuser_map root ^(.*)$ superuser_map postgres ^(.*)$ superuser_map /^(.*)$ \1