From 5f895aeee0ebeb4e791539e4e0e0946aef9c649b Mon Sep 17 00:00:00 2001 From: tux Date: Mon, 11 May 2026 06:52:50 +0530 Subject: [PATCH] feat(ghostty): add ghostty module --- modules/hm/desktop/ghostty.nix | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 modules/hm/desktop/ghostty.nix diff --git a/modules/hm/desktop/ghostty.nix b/modules/hm/desktop/ghostty.nix new file mode 100644 index 0000000..eac8155 --- /dev/null +++ b/modules/hm/desktop/ghostty.nix @@ -0,0 +1,47 @@ +{ + flake.modules.homeManager.desktop = { + programs.ghostty = { + enable = true; + enableZshIntegration = true; + systemd.enable = true; + + settings = { + confirm-close-surface = false; + gtk-titlebar = false; + window-padding-x = 10; + window-padding-y = 10; + font-size = 12; + font-family = "JetBrainsMono Nerd Font"; + theme = "poimandres"; + }; + + themes = { + poimandres = { + background = "#0f0f0f"; + foreground = "#a6accd"; + cursor-color = "#f2eacf"; + selection-background = "#1a1a1a"; + selection-foreground = "#f1f1f1"; + palette = [ + "0=#252b37" + "1=#d0679d" + "2=#5de4c7" + "3=#fffac2" + "4=#89ddff" + "5=#fae4fc" + "6=#add7ff" + "7=#ffffff" + "8=#a6accd" + "9=#d0679d" + "10=#5de4c7" + "11=#fffac2" + "12=#add7ff" + "13=#89ddff" + "14=#fcc5e9" + "15=#ffffff" + ]; + }; + }; + }; + }; +}