nixos/navidrome: fixes missing ssl certficates

This commit is contained in:
Jörg Thalheim 2022-06-11 10:56:52 +02:00
parent abb346a417
commit c772b13ee7

View file

@ -45,6 +45,8 @@ in {
RootDirectory = "/run/navidrome";
ReadWritePaths = "";
BindReadOnlyPaths = [
# navidrome uses online services to download additional album metadata / covers
"${config.environment.etc."ssl/certs/ca-certificates.crt".source}:/etc/ssl/certs/ca-certificates.crt"
builtins.storeDir
] ++ lib.optional (cfg.settings ? MusicFolder) cfg.settings.MusicFolder;
CapabilityBoundingSet = "";