cacert: fix formatting of example

This commit is contained in:
Leroy Hopson 2015-07-04 18:49:32 +12:00
parent 3fc6470515
commit 24d5d28820

View file

@ -35,7 +35,8 @@ in
security.pki.certificates = mkOption { security.pki.certificates = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
default = []; default = [];
example = singleton '' example = literalExample ''
[ '''
NixOS.org NixOS.org
========= =========
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -43,6 +44,8 @@ in
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0 TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
... ...
-----END CERTIFICATE----- -----END CERTIFICATE-----
'''
]
''; '';
description = '' description = ''
A list of trusted root certificates in PEM format. A list of trusted root certificates in PEM format.