mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-26 19:16:47 +03:00
Fix indentation. Fix openPorts option default to false.
This commit is contained in:
parent
7a6738fefc
commit
31c4498a47
2 changed files with 24 additions and 26 deletions
|
@ -40,11 +40,10 @@ in
|
|||
};
|
||||
openPorts = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
default = false;
|
||||
description = ''
|
||||
Open the ports in the firewall. Defaults are:
|
||||
- UDP 6881-6999 for transfers
|
||||
- TCP 6800 for RPC
|
||||
Open listen and RPC ports found in listenPortRange and rpcListenPort
|
||||
options in the firewall.
|
||||
'';
|
||||
};
|
||||
downloadDir = mkOption {
|
||||
|
@ -76,7 +75,7 @@ in
|
|||
};
|
||||
extraArguments = mkOption {
|
||||
type = types.string;
|
||||
example = "--rpc-secret=12345 --enable-rpc --rpc-listen-all";
|
||||
example = "--rpc-listen-all --remote-time=true";
|
||||
default = "";
|
||||
description = ''
|
||||
Additional arguments to be passed to Aria2.
|
||||
|
@ -134,4 +133,3 @@ in
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue