about summary refs log tree commit diff
path: root/nixos/tests/quicktun.nix
blob: a5a63245711749ed51164e7c66e8d127ec930c06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import ./make-test-python.nix ({ pkgs, lib, ... }:
{
  name = "quicktun";
  meta.maintainers = with lib.maintainers; [ h7x4 ];

  nodes = {
    machine = { ... }: {
      services.quicktun."test-tunnel" = {
        protocol = "raw";
      };
    };
  };

  testScript = ''
    start_all()
    machine.wait_for_unit("quicktun-test-tunnel.service")
  '';
})