diff --git a/options.xhtml b/options.xhtml index 28603bc1b..ec9a2966f 100644 --- a/options.xhtml +++ b/options.xhtml @@ -19838,6 +19838,109 @@ attribute set of (boolean or floating point number or signed integer or string)< +
+ + programs.asciinema.enable + + +
+
+

Whether to enable Enable installing asciinema and writing configuration file.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

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

The asciinema package to use.

+ +

Type: +null or package

+ +

Default: +pkgs.asciinema

+ +

Declared by:

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

Declare-able configurations for asciinema written to +$XDG_CONFIG_HOME/asciinema/config.toml.

Check official docs for available configurations; +https://docs.asciinema.org/manual/cli/configuration/v3/#config-file

+ +

Type: +TOML value

+ +

Default: +{ }

+ +

Example:

{
+  notifications = {
+    command = "tmux display-message \"$TEXT\"";
+    enable = false;
+  };
+  playback = {
+    next_marker_key = "m";
+    pause_key = "^p";
+    speed = 2;
+    step_key = "s";
+  };
+  server = {
+    url = "https://asciinema.example.com";
+  };
+  session = {
+    add_marker_key = "^x";
+    capture_env = "SHELL,TERM,USER";
+    capture_input = true;
+    command = "/run/current-system/sw/bin/bash -l";
+    idle_time_limit = 2;
+    pause_key = "^p";
+    prefix_key = "^a";
+  };
+}
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/programs/asciinema.nix> + +
+
programs.ashell.enable