manatee: Configure lbsync from an agenix secret
This commit is contained in:
3 files changed
+16
-1
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user