cacert: fix formatting of example

+11 -8
+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----- 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.