Clipboard

Revision as of 22:58, 5 December 2025 by Phobos (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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):

Installation

Example of installation for cliphist, find additional packages here: https://search.nixos.org/packages.

❄︎ /etc/nixos/configuration.nix
environment.systemPackages =  [
  pkgs.cliphist
];

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;

    };