From 9e3f4268c87b0d1a64e9429ea173252a5f774ec5 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 19 Feb 2023 21:35:36 +0300 Subject: 2023-02-19 --- modules/nixos/postgresql.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/nixos/postgresql.nix') diff --git a/modules/nixos/postgresql.nix b/modules/nixos/postgresql.nix index df05e7e..79515e8 100644 --- a/modules/nixos/postgresql.nix +++ b/modules/nixos/postgresql.nix @@ -43,6 +43,9 @@ in { inherit (cfg) package; + # In hindsight, it was a poor choice to use ICU as a locale provider. + # Now each time ICU version is bumped, I need to carefully upgrade each + # database to match the version. initdbArgs = [ "--encoding=UTF8" "--locale-provider=icu" @@ -52,6 +55,9 @@ in { "--lc-ctype=C" ]; + # This crutch is here because some services cannot work via a UNIX + # socket connection and I can't be bothered to configure proper + # authentication. authentication = '' local all all trust ''; -- cgit 1.4.1