aboutsummaryrefslogtreecommitdiff
path: root/macos.local/flake/home/programs/ghostty.nix.org
diff options
context:
space:
mode:
Diffstat (limited to 'macos.local/flake/home/programs/ghostty.nix.org')
-rw-r--r--macos.local/flake/home/programs/ghostty.nix.org23
1 files changed, 23 insertions, 0 deletions
diff --git a/macos.local/flake/home/programs/ghostty.nix.org b/macos.local/flake/home/programs/ghostty.nix.org
new file mode 100644
index 0000000..29bc15a
--- /dev/null
+++ b/macos.local/flake/home/programs/ghostty.nix.org
@@ -0,0 +1,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