dotfiles/macos.local/flake/home/programs/ghostty.nix.org
2025-03-05 22:17:31 -06:00

667 B

ghostty Configuration

I use ghostty as a terminal emulator on macOS. I disable auto-update and set some sensible options.

  { 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
    '';
  }