diff options
author | Emery Hemingway <ehmry@posteo.net> | 2020-08-13 15:31:17 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2020-09-29 08:07:53 +0200 |
commit | e7d0500cb3c62c2c20d5f02a9bae712ed577f5e4 (patch) | |
tree | c6a414d71981ce7406c7d27cb85fc3ea80826467 /nixos/tests | |
parent | b3f8642587eee9027321ff8c6edc4a4444e51173 (diff) |
nixos/rsyncd: convert module to an INI generator
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/rsyncd.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixos/tests/rsyncd.nix b/nixos/tests/rsyncd.nix new file mode 100644 index 0000000000000..3639320f645d1 --- /dev/null +++ b/nixos/tests/rsyncd.nix @@ -0,0 +1,25 @@ +import ./make-test-python.nix ({ pkgs, ... }: { + name = "rsyncd"; + meta.maintainers = with pkgs.lib.maintainers; [ ehmry ]; + + nodes.machine.services.rsyncd = { + enable = true; + settings = { + global = { + "reverse lookup" = false; + "forward lookup" = false; + }; + tmp = { + path = "/nix/store"; + comment = "test module"; + }; + + }; + }; + + testScript = '' + start_all() + machine.wait_for_unit("rsyncd") + machine.succeed("rsync localhost::") + ''; +}) |