nixpkgs/nixos/tests/mopidy.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
218 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
name = "mopidy";
2024-11-14 23:40:14 +01:00
nodes.machine =
{ ... }:
{
services.mopidy.enable = true;
};
2024-11-14 23:40:14 +01:00
testScript = ''
machine.wait_for_unit("mopidy")
machine.wait_for_open_port(6680)
'';
}