diff --git a/home/modules/gui/ghostty.nix b/home/modules/gui/ghostty.nix index b32514e..0e84dd2 100644 --- a/home/modules/gui/ghostty.nix +++ b/home/modules/gui/ghostty.nix @@ -1,7 +1,17 @@ -{ config, inputs, ... }: { +{ config, inputs, pkgs, ... }: { home.packages = [ (config.lib.nixGL.wrap inputs.ghostty.packages.x86_64-linux.default) ]; + xdg.configFile."ghostty/config".text = '' + auto-update = off + command = ${pkgs.fish}/bin/fish + font-family = BerkeleyMono Nerd Font Mono + initial-command = ${pkgs.fish}/bin/fish -c "${pkgs.tmux}/bin/tmux attach-session -t (hostname -s) || tmux new-session -s (hostname -s) -c $HOME" + shell-integration = fish + theme = catppuccin-mocha + window-height = 50 + window-width = 170 + ''; }