1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

chore: remove redundant permission grants to root as root is pg superuser

This commit is contained in:
RGBCube 2025-02-27 22:07:32 +03:00
parent 2c7ac26e4e
commit da34aaa065
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -31,11 +31,7 @@ in {
enableJIT = true;
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
initialScript = pkgs.writeText "grant-root-perms.sql" ''
GRANT pg_read_all_data TO root;
GRANT pg_write_all_data TO root;
'';
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
authentication = mkOverride 10 /* ini */ ''
# Type Database DBUser Authentication