2
0
Fork 0

WiP! lighttpd

This commit is contained in:
Ehmry - 2020-11-21 18:41:36 +01:00
parent 2b7111af5a
commit 7f414b1725
1 changed files with 13 additions and 3 deletions

View File

@ -1,8 +1,18 @@
{ {
name = "lighttpd"; 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; 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')
'';
} }