summary refs log tree commit diff
path: root/nixos/modules/services/databases
diff options
context:
space:
mode:
authorOliver Charles <ollie@ocharles.org.uk>2014-01-11 22:01:21 +0000
committerOliver Charles <ollie@ocharles.org.uk>2014-01-11 22:01:21 +0000
commit422f2032ab057828f0bfed20902f3a1f54c540a4 (patch)
treeb2964f762e921516b9084012f3ecfead2378c6bc /nixos/modules/services/databases
parent4ede302207b728e94bc4d24d2d783f49b69e086b (diff)
downloadnixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar.gz
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar.bz2
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar.lz
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar.xz
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.tar.zst
nixlib-422f2032ab057828f0bfed20902f3a1f54c540a4.zip
services.postgresql: Hint to use mkForce for authentication
This fixes #1395
Diffstat (limited to 'nixos/modules/services/databases')
-rw-r--r--nixos/modules/services/databases/postgresql.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 1563858887e6..265d26e8ce98 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -82,7 +82,11 @@ in
         type = types.lines;
         default = "";
         description = ''
-          Defines how users authenticate themselves to the server.
+          Defines how users authenticate themselves to the server. By
+          default, "trust" access to local users will always be granted
+          along with any other custom options. If you do not want this,
+          set this option using "pkgs.lib.mkForce" to override this
+          behaviour.
         '';
       };