summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commit6000f4f348069910f3e9bf2b31d9301f1e02c23b (patch)
tree8d718c986305149e57fbd40144f000fa42e641f4 /tv/2configs
parent4ba8fd95d5d4fd63acc61e9adddf771eda0fef02 (diff)
tv pki: import custom certificates
Diffstat (limited to 'tv/2configs')
-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 f22b9a6..9e7f476 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));
+
}