1{ lib, ... }:
2
3{
4 name = "orthanc";
5
6 nodes = {
7 machine =
8 { pkgs, ... }:
9 {
10 services.orthanc = {
11 enable = true;
12 settings = {
13 HttpPort = 12345;
14 };
15 };
16 };
17 };
18
19 testScript = ''
20 machine.start()
21 machine.wait_for_unit("orthanc.service")
22 machine.wait_for_open_port(12345)
23 machine.wait_for_open_port(4242)
24 '';
25
26 meta.maintainers = [ ];
27}