Add missing defaults
This commit is contained in:
parent
75b5f1257f
commit
135a9c0901
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,7 @@ in
|
|||
torznab = mkOption {
|
||||
apply = v: if v != null then "[${lib.concatMapStringsSep ", " (x: "'${x}'") v}]" else "undefined";
|
||||
type = types.nullOr (types.listOf types.str);
|
||||
default = null;
|
||||
example = [ "http://localhost:9696/1/api?apikey=1234" ];
|
||||
description = "Torznab URLs with apikey included";
|
||||
};
|
||||
|
@ -195,6 +196,7 @@ in
|
|||
|
||||
torrentDir = mkOption {
|
||||
type = types.nullOr types.path;
|
||||
default = null;
|
||||
example = "~/.local/share/qBittorrent/BT_backup";
|
||||
description = "Directory containing .torrent files";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue