1{ lib, ... }:
2{
3 name = "fanout";
4 meta.maintainers = with lib.maintainers; [ therishidesai ];
5
6 nodes.machine = {
7 services.fanout = {
8 enable = true;
9 fanoutDevices = 2;
10 bufferSize = 8192;
11 };
12 };
13
14 testScript = ''
15 start_all()
16
17 # mDNS.
18 machine.wait_for_unit("multi-user.target")
19
20 machine.succeed("test -c /dev/fanout0")
21 machine.succeed("test -c /dev/fanout1")
22 '';
23}