tests/rsync: pass thru eth1
This commit is contained in:
parent
759eec4e00
commit
2a88f3a096
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue