2
0
Fork 0
Browse Source

WiP! lighttpd

3e734ae
Emery Hemingway 2 years ago
parent
commit
7f414b1725
  1. 16
      tests/lighttpd.nix

16
tests/lighttpd.nix

@ -1,8 +1,18 @@
{
name = "lighttpd";
machine = { pkgs, ... }: {
imports = [ ../nixos-modules/systemd.nix ];
nodes.server = { pkgs, ... }: {
imports = [ ../nixos-modules/hardware.nix ../nixos-modules/systemd.nix ];
networking.interfaces.eth1.genode.stack = "lwip";
services.lighttpd.enable = true;
systemd.services.lighttpd.genode.enable = true;
systemd.services.lighttpd.genode = {
enable = true;
interface = "eth1";
};
};
testScript = ''
server.start()
server.wait_until_serial_output('lwIP Nic interface up address=192.168.1.2')
'';
}

Loading…
Cancel
Save