services.rsyncd.settings

Configuration for rsyncd. See rsyncd.conf(5).

Type
submodule
Default
{ }
Example
{
  globalSection = {
    address = "0.0.0.0";
    gid = "nobody";
    "max connections" = 4;
    uid = "nobody";
    "use chroot" = true;
  };
  sections = {
    cvs = {
      "auth users" = [
        "tridge"
        "susan"
      ];
      comment = "CVS repository (requires authentication)";
      path = "/data/cvs";
      "secrets file" = "/etc/rsyncd.secrets";
    };
    ftp = {
      comment = "whole ftp area";
      path = "/var/ftp/./pub";
    };
  };
}
Declared
<nixpkgs/nixos/modules/services/network-filesystems/rsyncd.nix>