0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

services.postgresql: add identMap example

to make things clearer
This commit is contained in:
Matthieu Coudron 2023-08-17 19:21:16 +02:00
parent 482619dac7
commit 956a1876aa

View file

@ -106,12 +106,14 @@ in
identMap = mkOption { identMap = mkOption {
type = types.lines; type = types.lines;
default = ""; default = "";
example = literalExample ''
map-name-0 system-username-0 database-username-0
map-name-1 system-username-1 database-username-1
'';
description = lib.mdDoc '' description = lib.mdDoc ''
Defines the mapping from system users to database users. Defines the mapping from system users to database users.
The general form is: See the [auth doc](https://postgresql.org/docs/current/auth-username-maps.html).
map-name system-username database-username
''; '';
}; };