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:
parent
03714aceb6
commit
282e3e108e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue