Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

services.clipcat.enable

Whether to enable clipcat.

Type: boolean

Default:

false

Example:

true

Declared by:

services.clipcat.enableSystemdUnit

Enable clipcat’s Systemd Unit.

Type: boolean

Default:

true

Example:

false

Declared by:

services.clipcat.enableZshIntegration

Whether to enable Zsh integration.

Type: boolean

Default:

Example:

false

Declared by:

services.clipcat.package

The clipcat package to use.

Type: package

Default:

pkgs.clipcat

Declared by:

services.clipcat.ctlSettings

Configuration settings for clipcatctl. All available options can be found here: https://github.com/xrelkd/clipcat?tab=readme-ov-file#configuration.

Type: TOML value

Default:

{ }

Example:

''
  {
    server_endpoint = "/run/user/<user-id>/clipcat/grpc.sock";
    log = {
      file_path = "/path/to/log/file";
      emit_journald = true;
      emit_stdout = false;
      emit_stderr = false;
      level = "INFO";
    };
  }
''

Declared by:

services.clipcat.daemonSettings

Configuration settings for clipcatd. All available options can be found here: https://github.com/xrelkd/clipcat?tab=readme-ov-file#configuration.

Type: TOML value

Default:

{
  daemonize = true;
}

Example:

''
  {
    daemonize = true;
    max_history = 50;
    history_file_path = "/home/<username>/.cache/clipcat/clipcatd-history";
    pid_file = "/run/user/<user-id>/clipcatd.pid";
    primary_threshold_ms = 5000;
    log = {
      file_path = "/path/to/log/file";
      emit_journald = true;
      emit_stdout = false;
      emit_stderr = false;
      level = "INFO";
    };
  }
''

Declared by:

services.clipcat.menuSettings

Configuration settings for clipcat-menu. All available options can be found here: https://github.com/xrelkd/clipcat?tab=readme-ov-file#configuration.

Type: TOML value

Default:

{ }

Example:

''
  {
    server_endpoint = "/run/user/<user-id>/clipcat/grpc.sock";
    finder = "rofi";
    rofi = {
      line_length = 100;
      menu_length = 30;
      menu_prompt = "Clipcat";
      extra_arguments = [
        "-mesg"
        "Please select a clip"
      ];
    };
    dmenu = {
      line_length = 100;
      menu_length = 30;
      menu_prompt = "Clipcat";
    };
  }
''

Declared by: