tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cacert: fix formatting of example
Leroy Hopson
10 years ago
24d5d288
3fc64705
+11
-8
1 changed file
expand all
collapse all
unified
split
nixos
modules
security
ca.nix
+11
-8
nixos/modules/security/ca.nix
···
35
security.pki.certificates = mkOption {
36
type = types.listOf types.str;
37
default = [];
38
-
example = singleton ''
39
-
NixOS.org
40
-
=========
41
-
-----BEGIN CERTIFICATE-----
42
-
MIIGUDCCBTigAwIBAgIDD8KWMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
43
-
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
44
-
...
45
-
-----END CERTIFICATE-----
0
0
0
46
'';
47
description = ''
48
A list of trusted root certificates in PEM format.
···
35
security.pki.certificates = mkOption {
36
type = types.listOf types.str;
37
default = [];
38
+
example = literalExample ''
39
+
[ '''
40
+
NixOS.org
41
+
=========
42
+
-----BEGIN CERTIFICATE-----
43
+
MIIGUDCCBTigAwIBAgIDD8KWMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
44
+
TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0
45
+
...
46
+
-----END CERTIFICATE-----
47
+
'''
48
+
]
49
'';
50
description = ''
51
A list of trusted root certificates in PEM format.