From 2a88f3a096140de41eb2eeedd5b5f0c26458e59b Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 12 Nov 2020 19:40:17 +0100 Subject: [PATCH] tests/rsync: pass thru eth1 --- tests/rsync.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/rsync.nix b/tests/rsync.nix index 961746f..d300ad8 100644 --- a/tests/rsync.nix +++ b/tests/rsync.nix @@ -1,11 +1,15 @@ { name = "rsync"; machine = { pkgs, ... }: { - imports = [ ../nixos-modules/systemd.nix ]; + imports = [ ../nixos-modules/systemd.nix ../nixos-modules/hardware.nix ]; + networking.interfaces.eth1.genode.stack = "lwip"; services.rsyncd = { enable = true; - modules.root.path = "/"; + settings.root.path = "/"; + }; + systemd.services.rsyncd.genode = { + enable = true; + interface = "eth1"; }; - systemd.services.rsyncd.genode.enable = true; }; }