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:
parent
482619dac7
commit
956a1876aa
1 changed files with 5 additions and 3 deletions
|
@ -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
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue