aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/programs/ghostty.nix.org
blob: 29bc15ad0efb41bdc74ff64948bc863b49580aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#+title: ghostty Configuration

I use =ghostty= as a terminal emulator on macOS. I disable auto-update and set some sensible options.
#+begin_src nix
  { config, pkgs, ... }:

  {
    home.file."./.config/ghostty/config".text = ''
      auto-update = "off"
      background-blur-radius = 20
      background-opacity = 0.8
      clipboard-trim-trailing-spaces = true
      font-family = "SauceCodePro Nerd Font"
      font-thicken = true
      macos-option-as-alt = true
      macos-window-shadow = false
      mouse-hide-while-typing = true
      quit-after-last-window-closed = true
      theme = "Builtin Light"
      window-decoration = true
    '';
  }
#+end_src