summaryrefslogtreecommitdiffstats
path: root/ghostty.nix
blob: c7cf640d32bb70ce71f48b10014e873382039aa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  config,
  pkgs,
  inputs,
  ...
}: {
  programs.ghostty = {
    enable = true;
    settings = {
      shell-integration = "fish";
      shell-integration-features = true;
      mouse-hide-while-typing = true;
      cursor-click-to-move = true;
      mouse-shift-capture = true;
      scrollback-limit = 10000;
      link-url = true;
      link-previews = true;
      background-opacity = 0.8;
      background-blur = true;
      window-inherit-working-directory = true;
      window-save-state = "always";
      copy-on-select = "clipboard";
      clipboard-read = "allow";

      clipboard-write = "allow";
      confirm-close-surface = false;
      auto-update = "off";
    };
  };
}