nixos/kanidm: bind ca-bundle to validate url on provisioning (#409184)

This commit is contained in:
Sandro 2025-08-03 23:32:08 +02:00 committed by GitHub
commit 02e4fa0530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -888,7 +888,14 @@ in
(
defaultServiceConfig
// {
BindReadOnlyPaths = mergePaths (defaultServiceConfig.BindReadOnlyPaths ++ secretPaths);
BindReadOnlyPaths = mergePaths (
defaultServiceConfig.BindReadOnlyPaths
++ secretPaths
++ (lib.optionals (cfg.provision.enable && !cfg.provision.acceptInvalidCerts) [
"-/etc/ssl"
"-/etc/static/ssl"
])
);
}
)
{