From 8493d6c7311c7637e5872506939a6ed27e43be59 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 4 Jun 2019 15:55:32 +0200 Subject: (* BREAKING *) PGSQL: password_encryption is enum It is enum since Postgresql 10. --- modules/apps/postgresql/server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/apps/postgresql/server.nix b/modules/apps/postgresql/server.nix index 30488db..a332704 100644 --- a/modules/apps/postgresql/server.nix +++ b/modules/apps/postgresql/server.nix @@ -150,7 +150,7 @@ in { max_standby_streaming_delay = optional int; max_wal_senders = optional int; max_worker_processes = optional int; - password_encryption = optional bool; + password_encryption = optional (enum [ "md5" "scram-sha-256" ]); port = default 5432 int; quote_all_identifiers = optional bool; random_page_cost = optional float; -- cgit v1.2.3