2
0
Fork 0
genodepkgs/tests/lighttpd.nix

21 lines
511 B
Nix

{
name = "lighttpd";
nodes = {
webserver = {
imports = [ ../nixos-modules/hardware.nix ];
services.lighttpd.enable = true;
genode.hardware.nic.eth1.driver = "virtio";
genode.hardware.nic.eth1.stack = "lwip";
};
client = {
imports = [ ../nixos-modules/hardware.nix ];
genode.hardware.nic.eth1.driver = "virtio";
genode.hardware.nic.eth1.stack = "lwip";
};
};
testScript = ''
start_all()
client.wait_until_serial_output("forever")
'';
}