nixpkgs-suyu/nixos/tests/twingate.nix
2023-07-07 20:03:54 +03:00

10 lines
268 B
Nix

{
name = "twingate";
nodes.machine.services.twingate.enable = true;
testScript = { nodes, ... }: ''
machine.wait_for_unit("twingate.service")
machine.succeed("twingate --version | grep '${nodes.machine.services.twingate.package.version}' >&2")
'';
}