mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
19 lines
344 B
Nix
19 lines
344 B
Nix
|
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)
|
||
|
'';
|
||
|
})
|