From cc6f42e27a4a810b8fb7e94cb79e8a65bffb06dd Mon Sep 17 00:00:00 2001 From: moons14 Date: Wed, 29 Oct 2025 19:11:53 +0900 Subject: [PATCH] ghostty --- flake.nix | 1 + modules/home/ghostty/config | 11 +++++++++++ modules/home/ghostty/default.nix | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 modules/home/ghostty/config create mode 100644 modules/home/ghostty/default.nix diff --git a/flake.nix b/flake.nix index 645fd04..5e67bf5 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,7 @@ }; vicinae.url = "github:vicinaehq/vicinae"; + ghostty.url = "github:ghostty-org/ghostty"; quickshell = { url = "github:outfoxxed/quickshell"; diff --git a/modules/home/ghostty/config b/modules/home/ghostty/config new file mode 100644 index 0000000..d0162d2 --- /dev/null +++ b/modules/home/ghostty/config @@ -0,0 +1,11 @@ +theme = Builtin Solarized Dark +background-opacity = 0.85 +palette = 8=#5d728c +# keybind +# create new tab +keybind = ctrlt+t=new_tab +# move tabs +keybind = ctrl+alt+left_bracket=previous_tab +keybind = ctrl+alt+right_bracket=next_tab +# close tab +keybind = ctrl+alt+q=close_window diff --git a/modules/home/ghostty/default.nix b/modules/home/ghostty/default.nix new file mode 100644 index 0000000..6a5b6fb --- /dev/null +++ b/modules/home/ghostty/default.nix @@ -0,0 +1,11 @@ +{ ... }: +{ + programs.ghostty = { + enable = true; + }; + + home.file.".config/ghostty/config" = { + recursive = true; + source = ./config; + }; +} \ No newline at end of file