From e3e1e0f285d68d44df088d7e9b264bec0511ef56 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Thu, 5 Nov 2020 21:39:05 +0100 Subject: [PATCH] WiP! rsync test --- tests/default.nix | 1 + tests/rsync.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/rsync.nix diff --git a/tests/default.nix b/tests/default.nix index a650ad1..8f92847 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -11,6 +11,7 @@ let ./execve.nix ./hello.nix ./log.nix + ./rsync.nix ./solo5/multi.nix ./vmm_x86.nix ./x86.nix diff --git a/tests/rsync.nix b/tests/rsync.nix new file mode 100644 index 0000000..961746f --- /dev/null +++ b/tests/rsync.nix @@ -0,0 +1,11 @@ +{ + name = "rsync"; + machine = { pkgs, ... }: { + imports = [ ../nixos-modules/systemd.nix ]; + services.rsyncd = { + enable = true; + modules.root.path = "/"; + }; + systemd.services.rsyncd.genode.enable = true; + }; +}