1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Set PostgreSQL locale to C permanently

This commit is contained in:
RGBCube 2024-01-17 21:25:50 +03:00
parent 03714aceb6
commit 282e3e108e
No known key found for this signature in database

View file

@ -20,6 +20,8 @@
services.postgresql = enabled { services.postgresql = enabled {
package = pkgs.postgresql_14; package = pkgs.postgresql_14;
initdbArgs = [ "--locale=C" "--encoding=UTF8" ];
authentication = lib.mkOverride 10 '' authentication = lib.mkOverride 10 ''
# Type Database DBUser Authentication IdentMap # Type Database DBUser Authentication IdentMap
local sameuser all peer map=superuser_map local sameuser all peer map=superuser_map