Skip to content

Rsyncd

services.rsyncd.enable

Whether to enable the rsync daemon. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/rsyncd.nix

services.rsyncd.port

TCP port the daemon will listen on. Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

873

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/rsyncd.nix

services.rsyncd.settings

Configuration for rsyncd. See {manpage}rsyncd.conf(5).

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default

{ }

Example

{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";};global = {gid = "nobody";"max connections" = 4;uid = "nobody";"use chroot" = true;};}

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/rsyncd.nix

services.rsyncd.socketActivated

If enabled Rsync will be socket-activated rather than run persistently. Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/network-filesystems/rsyncd.nix