blob: 286fec66da2eccdfc1b696fa9a53edde6815875a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ pkgs, ... }:
{
name = "navidrome";
nodes.machine =
{ ... }:
{
services.navidrome = {
enable = true;
plugins = with pkgs.navidromePlugins; [
listenbrainz-daily-playlist
];
};
};
testScript = ''
machine.wait_for_unit("navidrome")
machine.wait_for_console_text("Starting plugin manager")
# Make sure we saw at least one plugin load
machine.wait_for_console_text("plugin=listenbrainz-daily-playlist")
machine.wait_for_open_port(4533)
'';
}
|