summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorRyan Lahfa2023-11-20 19:05:01 +0100
committerGitHub2023-11-20 19:05:01 +0100
commit5d08323dda0c24cd49594d3ff8bac9810c3620be (patch)
treed1cfefc2537391c3ded240d1525b6bfd166dec3f /nixos/modules
parent1156cd9e9b57e2f5a11564c6cf64b86b01fae17a (diff)
parent809f926017796e7894271a530ac1cb9aa3401222 (diff)
Merge pull request #268717 from SuperSandro2000/patch-2
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/databases/postgresql.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index a9067d5974a9..d69ffff7b47b 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -467,9 +467,9 @@ in
     }) cfg.ensureUsers;
     # `ensurePermissions` is now deprecated, let's avoid it.
     warnings = lib.optional (any ({ ensurePermissions, ... }: ensurePermissions != {}) cfg.ensureUsers) "
-      `services.postgresql.*.ensurePermissions` is used in your expressions,
+      `services.postgresql.ensureUsers.*.ensurePermissions` is used in your expressions,
       this option is known to be broken with newer PostgreSQL versions,
-      consider migrating to `services.postgresql.*.ensureDBOwnership` or
+      consider migrating to `services.postgresql.ensureUsers.*.ensureDBOwnership` or
       consult the release notes or manual for more migration guidelines.
 
       This option will be removed in NixOS 24.05 unless it sees significant