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 {
|
openPorts = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Open the ports in the firewall. Defaults are:
|
Open listen and RPC ports found in listenPortRange and rpcListenPort
|
||||||
- UDP 6881-6999 for transfers
|
options in the firewall.
|
||||||
- TCP 6800 for RPC
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
downloadDir = mkOption {
|
downloadDir = mkOption {
|
||||||
|
@ -76,7 +75,7 @@ in
|
||||||
};
|
};
|
||||||
extraArguments = mkOption {
|
extraArguments = mkOption {
|
||||||
type = types.string;
|
type = types.string;
|
||||||
example = "--rpc-secret=12345 --enable-rpc --rpc-listen-all";
|
example = "--rpc-listen-all --remote-time=true";
|
||||||
default = "";
|
default = "";
|
||||||
description = ''
|
description = ''
|
||||||
Additional arguments to be passed to Aria2.
|
Additional arguments to be passed to Aria2.
|
||||||
|
@ -134,4 +133,3 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue