Jump to content

Clipboard: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
Made a page for clipboard utilities
 
Phobos (talk | contribs)
mNo edit summary
Line 1: Line 1:
: <blockquote>''The clipboard is a facility used for short-term data storage and/or data transfer between documents or applications, via copy and paste operations.'' - Wikipedia page on [[wikipedia:Clipboard_(computing)|Clipboard (Computing)]]</blockquote>
: <blockquote>''The clipboard is a facility used for short-term data storage and/or data transfer between documents or applications, via copy and paste operations.''   - Wikipedia page on [[wikipedia:Clipboard_(computing)|Clipboard (Computing)]]</blockquote>


== Options ==
== Options ==

Revision as of 22:51, 5 December 2025

The clipboard is a facility used for short-term data storage and/or data transfer between documents or applications, via copy and paste operations. - Wikipedia page on Clipboard (Computing)

Options

Options supported by NixOS include (but are not limited to):

Home Manager

Cliphist

Options may be found at Home Manager - services.cliphist. Example usage shown below:

❄︎ /etc/nixos/home.nix
services.cliphist = {

      enable = true;

      # A Wayland session
      systemdTargets = ["config.wayland.systemd.target"];

      # Sway Target 
      # if using make sure that:
      # "wayland.windowManager.sway.systemd.enable = true;" is set
      #systemdTargets = ["sway-session.target"];

      extraOptions = [
        "-max-dedupe-search"
        "10"
        "-max-items"
        "500"
      ];
      allowImages = true;

    };