manatee: Configure lbsync from an agenix secret

This commit is contained in:
Alexander Heldt committed 2026-11-08 18:49:48 +01:00
1 parent 6f855b3ff2
commit 9c9e2456e2
3 files changed
+16 -1

No files matched your search

+8 -1
View File
@@ -39,10 +39,17 @@ in
MusicFolder = "/mnt/media/public/music";
};
lbsync.enable = true;
lbsync = {
enable = true;
settingsFile = config.age.secrets."lbsync-config".path;
};
};
};
age.secrets."lbsync-config" = lib.mkIf navidromeEnabled {
file = ../../../../secrets/manatee/lbsync-config.age;
};
# `MusicFolder` is bind mounted into the service's own mount namespace when it
# starts, so starting before the ZFS dataset is mounted leaves it with an empty folder
systemd.services.navidrome = lib.mkIf navidromeEnabled {