about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-11-10 14:37:18 +0000
committerGitHub <noreply@github.com>2018-11-10 14:37:18 +0000
commit4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019 (patch)
tree57a3b4e460256c865751a0812aed4c6458052140 /nixos
parent817d06c981d3ad03445439db5fe25b8297cd73b1 (diff)
parent221e0fae38f5cd370821d1b451cf105f58a64b2d (diff)
downloadnixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar.gz
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar.bz2
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar.lz
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar.xz
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.tar.zst
nixlib-4ec41a9a9ea82a78b5bf1b0c3d065f4fe1c71019.zip
Merge pull request #50115 from Ekleog/nextcloud-pgsql-unix
nextcloud module: document process for using with pgsql unix auth
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index c7e97bbeba9a..d0efdf88d73c 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -171,7 +171,12 @@ in {
       dbhost = mkOption {
         type = types.nullOr types.str;
         default = "localhost";
-        description = "Database host.";
+        description = ''
+          Database host.
+
+          Note: for using Unix authentication with PostgreSQL, this should be
+          set to <literal>/tmp</literal>.
+        '';
       };
       dbport = mkOption {
         type = with types; nullOr (either int str);