2
0
Fork 0

tests/rsync: pass thru eth1

This commit is contained in:
Ehmry - 2020-11-12 19:40:17 +01:00
parent 759eec4e00
commit 2a88f3a096
1 changed files with 7 additions and 3 deletions

View File

@ -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;
};
}