Merge pull request #255707 from micahsoftdotexe/update-navidrome

nixos/navidrome: accept DataFolder option
This commit is contained in:
Martin Weinelt 2024-01-28 00:08:18 +01:00 committed by GitHub
commit 0deb00012d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,7 @@ in {
RuntimeDirectory = "navidrome";
RootDirectory = "/run/navidrome";
ReadWritePaths = "";
BindPaths = lib.optional (cfg.settings ? DataFolder) cfg.settings.DataFolder;
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"