f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
21 lines
437 B
Nix
21 lines
437 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
name = "music-assistant";
|
|
meta.maintainers = with lib.maintainers; [ hexa ];
|
|
|
|
nodes.machine = {
|
|
services.music-assistant = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("music-assistant.service")
|
|
machine.wait_until_succeeds("curl --fail http://localhost:8095")
|
|
machine.log(machine.succeed("systemd-analyze security music-assistant.service | grep -v ✓"))
|
|
'';
|
|
}
|