about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-01-28 00:02:42 +0000
committerGitHub <noreply@github.com>2024-01-28 00:02:42 +0000
commit3d3220f45a8a14c8d48d0f80d3fc65196ef240ef (patch)
tree4428c5b0261ba452c3fecb4ee94c7f2ba0a9ef01 /nixos
parentc34dd88211a31e909023520ba28fdd42848d9006 (diff)
parentf9eb11acbead3c92db14203511c9aae33ce13229 (diff)
downloadnixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar.gz
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar.bz2
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar.lz
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar.xz
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.tar.zst
nixlib-3d3220f45a8a14c8d48d0f80d3fc65196ef240ef.zip
Merge staging-next into staging
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/audio/navidrome.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/navidrome.nix b/nixos/modules/services/audio/navidrome.nix
index e44fc822e4ad..912edb03aa4c 100644
--- a/nixos/modules/services/audio/navidrome.nix
+++ b/nixos/modules/services/audio/navidrome.nix
@@ -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"