Add missing defaults

This commit is contained in:
batteredbunny 2024-11-15 01:05:52 +02:00
parent 75b5f1257f
commit 135a9c0901

View file

@ -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";
};