diff --git a/options.xhtml b/options.xhtml index 088240d38..e9d396e9c 100644 --- a/options.xhtml +++ b/options.xhtml @@ -53257,6 +53257,189 @@ TOML value

+
+ + programs.streamlink.enable + + +
+
+

Whether to enable streamlink.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
+
+ + programs.streamlink.package + + +
+
+

The streamlink package to use.

+ +

Type: +null or package

+ +

Default: +pkgs.streamlink

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
+
+ + programs.streamlink.plugins + + +
+
+

Streamlink plugins.

If a source is set, the custom plugin will be linked to the data directory.

Additional configuration specific to the plugin, if defined, will be +written to the config directory, and override global settings.

+ +

Type: +attribute set of (submodule)

+ +

Default: +{ }

+ +

Example:

{
+  custom_plugin = {
+    src = ./custom_plugin.py;
+    settings = {
+      quiet = true;
+    };
+  };
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
+
+ + programs.streamlink.plugins.<name>.settings + + +
+
+

Configuration for the specific plugin, written to +$XDG_CONFIG_HOME/streamlink/config.<name> (linux) or +Library/Application Support/streamlink/config.<name> (darwin).

+ +

Type: +attribute set of (boolean or signed integer or floating point number or string or list of (signed integer or floating point number or string))

+ +

Default: +{ }

+ +

Example:

{
+  quiet = true;
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
+
+ + programs.streamlink.plugins.<name>.src + + +
+
+

Source of the custom plugin. The value should be a path to the +plugin file, or the text of the plugin code. Will be linked to +$XDG_DATA_HOME/streamlink/plugins/<name>.py (linux) or +Library/Application Support/streamlink/plugins/<name>.py (darwin).

+ +

Type: +null or absolute path or strings concatenated with ā€œ\nā€

+ +

Default: +null

+ +

Example: +./custom_plugin.py

+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
+
+ + programs.streamlink.settings + + +
+
+

Global configuration options for streamlink. It will be written to +$XDG_CONFIG_HOME/streamlink/config (linux) or +Library/Application Support/streamlink/config (darwin).

+ +

Type: +attribute set of (boolean or signed integer or floating point number or string or list of (signed integer or floating point number or string))

+ +

Default: +{ }

+ +

Example:

{
+  player = "${pkgs.mpv}/bin/mpv";
+  player-args = "--cache 2048";
+  player-no-close = true;
+}
+
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/streamlink.nix> + +
+
programs.swayimg.enable