summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-21 09:19:37 +0200
committertv <tv@krebsco.de>2019-04-21 09:19:37 +0200
commit325119c2834610cb6840e116d79963d2c23cdc8a (patch)
tree29c5558531b235e1e9eb425b914c20c70f447692 /tv
parentf940a179053e54de0d46aada5b42502f7563f45f (diff)
tv pki: import custom certificates
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/pki/default.nix6
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));
+
}