diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:05:52 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:06:42 +0200 |
| commit | 44da835ac40dab5fd231298b59d83487382d2fab (patch) | |
| tree | 38759adb4565c164518441b6759960e11f1e61c1 /modules/security | |
| parent | 8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff) | |
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'modules/security')
| -rw-r--r-- | modules/security/pki/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/security/pki/default.nix b/modules/security/pki/default.nix index b6e99d2..4f3cf30 100644 --- a/modules/security/pki/default.nix +++ b/modules/security/pki/default.nix @@ -24,7 +24,7 @@ in security.pki.certificateFiles = mkOption { type = types.listOf types.path; default = []; - example = literalExample "[ \"\${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt\" ]"; + example = literalExpression "[ \"\${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt\" ]"; description = '' A list of files containing trusted root certificates in PEM format. These are concatenated to form @@ -37,7 +37,7 @@ in security.pki.certificates = mkOption { type = types.listOf types.str; default = []; - example = literalExample '' + example = literalExpression '' [ ''' NixOS.org ========= |
