about summary refs log tree commit diff
path: root/nixos/tests/guacamole-server.nix
blob: 48194fddfb22920ef99711da42990bb7df542841 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ];
})