mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
26 lines
512 B
Nix
26 lines
512 B
Nix
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::")
|
|
'';
|
|
})
|