summaryrefslogtreecommitdiffstats
path: root/tv/2configs/pki/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/2configs/pki/default.nix')
-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));
+
}