nixpkgs/nixos/tests/navidrome.nix
2022-06-11 14:22:53 +02:00

12 lines
247 B
Nix

import ./make-test-python.nix ({ pkgs, ... }: {
name = "navidrome";
nodes.machine = { ... }: {
services.navidrome.enable = true;
};
testScript = ''
machine.wait_for_unit("navidrome")
machine.wait_for_open_port(4533)
'';
})