From 283aa971b648e2b7121107285a84ddb51f6bf14b Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 12 Sep 2025 19:23:56 +0200 Subject: [PATCH 1/2] feat(desktop): use ghostty. --- modules/linux/home-manager/hyprland.nix | 2 +- modules/linux/home-manager/wayland.nix | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/linux/home-manager/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 88157b6..d49fe46 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -127,7 +127,7 @@ in { settings = { "$mod" = "SUPER"; "$menu" = "tofi"; - "$terminal" = "foot"; + "$terminal" = "ghostty"; exec = [ # Fix laptop monitor getting turned on while my external monitor connected diff --git a/modules/linux/home-manager/wayland.nix b/modules/linux/home-manager/wayland.nix index 5394df3..2a7b7c1 100644 --- a/modules/linux/home-manager/wayland.nix +++ b/modules/linux/home-manager/wayland.nix @@ -28,7 +28,7 @@ horizontal = true; history = false; require-match = false; - terminal = "foot"; + terminal = "ghostty"; outline-width = 0; border-width = 0; min-input-width = 120; @@ -43,6 +43,15 @@ # Install foot programs.foot.enable = true; + programs.ghostty = { + enable = true; + enableZshIntegration = true; + installVimSyntax = true; + settings = { + window-decoration = false; + }; + }; + # Setup and enable mako services.mako = { enable = true; From ec5e45b2d08131c91142324bf08884b6910fb7bc Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Fri, 12 Sep 2025 19:36:08 +0200 Subject: [PATCH 2/2] feat(ghostty): configure it how I wan't. --- modules/linux/home-manager/wayland.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/linux/home-manager/wayland.nix b/modules/linux/home-manager/wayland.nix index 2a7b7c1..b2432a2 100644 --- a/modules/linux/home-manager/wayland.nix +++ b/modules/linux/home-manager/wayland.nix @@ -49,6 +49,9 @@ installVimSyntax = true; settings = { window-decoration = false; + mouse-hide-while-typing = true; + resize-overlay = "never"; + window-padding-balance = true; }; };