diff options
Diffstat (limited to 'nixos/tests/gonic.nix')
-rw-r--r-- | nixos/tests/gonic.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nixos/tests/gonic.nix b/nixos/tests/gonic.nix new file mode 100644 index 0000000000000..726d7da0970f7 --- /dev/null +++ b/nixos/tests/gonic.nix @@ -0,0 +1,18 @@ +import ./make-test-python.nix ({ pkgs, ... }: { + name = "gonic"; + + nodes.machine = { ... }: { + services.gonic = { + enable = true; + settings = { + music-path = [ "/tmp" ]; + podcast-path = "/tmp"; + }; + }; + }; + + testScript = '' + machine.wait_for_unit("gonic") + machine.wait_for_open_port(4747) + ''; +}) |