mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
22 lines
413 B
Nix
22 lines
413 B
Nix
|
import ./make-test-python.nix ({pkgs, lib, ...}:
|
||
|
{
|
||
|
name = "guacamole-server";
|
||
|
|
||
|
nodes = {
|
||
|
machine = {pkgs, ...}: {
|
||
|
services.guacamole-server = {
|
||
|
enable = true;
|
||
|
host = "0.0.0.0";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
start_all()
|
||
|
machine.wait_for_unit("guacamole-server.service")
|
||
|
machine.wait_for_open_port(4822)
|
||
|
'';
|
||
|
|
||
|
meta.maintainers = [ lib.maintainers.drupol ];
|
||
|
})
|