2
0
Fork 0
genodepkgs/tests/rsync.nix

16 lines
365 B
Nix

{
name = "rsync";
machine = { pkgs, ... }: {
imports = [ ../nixos-modules/systemd.nix ../nixos-modules/hardware.nix ];
networking.interfaces.eth1.genode.stack = "lwip";
services.rsyncd = {
enable = true;
settings.root.path = "/";
};
systemd.services.rsyncd.genode = {
enable = true;
interface = "eth1";
};
};
}