From a3246d529776d61b67dd16aad68434ccd6db21ac Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Sat, 31 May 2025 12:50:58 -0400 Subject: [PATCH] feat: set more ghostty options --- nixosModules/ghostty.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nixosModules/ghostty.nix b/nixosModules/ghostty.nix index 4e5e5ec..7b1165b 100644 --- a/nixosModules/ghostty.nix +++ b/nixosModules/ghostty.nix @@ -12,9 +12,7 @@ let if builtins.isString v then ''${k} = "${toString v}"'' else - ''${k} = ${ - if builtins.isBool v then if v then "true" else "false" else toString v - }''; + ''${k} = ${if builtins.isBool v then if v then "true" else "false" else toString v}''; }; configFile = format.generate "ghostty-config" cfg.settings; in @@ -62,6 +60,9 @@ in "14=#85dc85" "15=#e2637f" ]; + mouse-hide-while-typing = true; + app-notifications = "no-clipboard-copy"; + copy-on-select = false; clipboard-read = "allow"; clipboard-write = "allow"; @@ -72,6 +73,8 @@ in ]; auto-update = "off"; + confirm-close-surface = false; + shell-integration = "detect"; } );