tv pki: import custom certificates

This commit is contained in:
tv 2019-04-21 09:19:37 +02:00
parent f940a17905
commit 325119c283
1 changed files with 6 additions and 0 deletions

View File

@ -11,4 +11,10 @@ in {
"SSL_CERT_FILE"
];
security.pki.certificateFiles =
mapAttrsToList
(name: const (./certs + "/${name}"))
(filterAttrs (const (eq "regular"))
(readDir ./certs));
}