Skip to content

Rtorrent

services.rtorrent.configText

The content of {file}rtorrent.rc. The modernized configuration template with the values specified in this module will be prepended using mkBefore. You can use mkForce to overwrite the config completely.

Type: strings concatenated with "\n"

Default

""

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.dataDir

The directory where rtorrent stores its data files.

Type: string

Default

"/var/lib/rtorrent"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.dataPermissions

Unix Permissions in octal on the rtorrent directory.

Type: string

Default

"0750"

Example

"0755"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.downloadDir

Where to put downloaded files.

Type: string

Default

"${config.services.rtorrent.dataDir}/download"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.enable

Whether to enable rtorrent. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.group

Group under which rtorrent runs.

Type: string

Default

"rtorrent"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.openFirewall

Whether to open the firewall for the port in {option}services.rtorrent.port.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.package

The rtorrent package to use. Type: package

Default

pkgs.rtorrent

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.port

The rtorrent port.

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default

50000

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.rpcSocket

RPC socket path.

Type: string

Default

"/run/rtorrent/rpc.sock"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix

services.rtorrent.user

User account under which rtorrent runs.

Type: string

Default

"rtorrent"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/torrent/rtorrent.nix