diff options
author | tv <tv@krebsco.de> | 2019-04-21 09:19:37 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-04-21 09:19:37 +0200 |
commit | 325119c2834610cb6840e116d79963d2c23cdc8a (patch) | |
tree | 29c5558531b235e1e9eb425b914c20c70f447692 /tv/2configs/pki | |
parent | f940a179053e54de0d46aada5b42502f7563f45f (diff) |
tv pki: import custom certificates
Diffstat (limited to 'tv/2configs/pki')
-rw-r--r-- | tv/2configs/pki/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tv/2configs/pki/default.nix b/tv/2configs/pki/default.nix index f22b9a6da..9e7f4763d 100644 --- a/tv/2configs/pki/default.nix +++ b/tv/2configs/pki/default.nix @@ -11,4 +11,10 @@ in { "SSL_CERT_FILE" ]; + security.pki.certificateFiles = + mapAttrsToList + (name: const (./certs + "/${name}")) + (filterAttrs (const (eq "regular")) + (readDir ./certs)); + } |