1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/nixos/tests/music-assistant.nix
2024-07-17 22:29:38 +02:00

22 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 "))
'';
}