Skip to content

Commit bfe7dc4

Browse files
committed
Default postgresql module to using UTF8 encoding
Signed-off-by: magic_rb <magic_rb@redalder.org>
1 parent 9021978 commit bfe7dc4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/services/postgresql.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ in
105105

106106
initdbArgs = lib.mkOption {
107107
type = with lib.types; listOf str;
108-
default = [ ];
108+
default = [
109+
"-E"
110+
"UTF8"
111+
];
109112
example = [
110113
"--data-checksums"
111114
"--allow-group-access"

0 commit comments

Comments
 (0)