diff options
author | Kranium Gikos Mendoza <kranium@gikos.net> | 2016-06-05 13:40:26 +0800 |
---|---|---|
committer | Kranium Gikos Mendoza <kranium@gikos.net> | 2016-06-05 13:40:26 +0800 |
commit | 64328ca4757beb50016774288f2219290587bfea (patch) | |
tree | e58477d5347e31e20caa53c05e0db51ae4910ec4 /nixos/modules | |
parent | fbde3a745259edf20dc8e275eee954875a2d50ab (diff) |
openldap: fix example for multiple-outputs and formatting
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/databases/openldap.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/nixos/modules/services/databases/openldap.nix b/nixos/modules/services/databases/openldap.nix index 9e86559dda04d..cbdc676d47bdb 100644 --- a/nixos/modules/services/databases/openldap.nix +++ b/nixos/modules/services/databases/openldap.nix @@ -52,11 +52,12 @@ in description = " sldapd.conf configuration "; - example = '' - include ''${pkgs.openldap}/etc/openldap/schema/core.schema - include ''${pkgs.openldap}/etc/openldap/schema/cosine.schema - include ''${pkgs.openldap}/etc/openldap/schema/inetorgperson.schema - include ''${pkgs.openldap}/etc/openldap/schema/nis.schema + example = literalExample '' + ''' + include ${pkgs.openldap.out}/etc/openldap/schema/core.schema + include ${pkgs.openldap.out}/etc/openldap/schema/cosine.schema + include ${pkgs.openldap.out}/etc/openldap/schema/inetorgperson.schema + include ${pkgs.openldap.out}/etc/openldap/schema/nis.schema database bdb suffix dc=example,dc=org @@ -64,6 +65,7 @@ in # NOTE: change after first start rootpw secret directory /var/db/openldap + ''' ''; }; }; |