ghostty: add config

This commit is contained in:
John Bowdre 2024-12-26 17:17:50 -06:00
parent 0c9b32b8ee
commit 9ca305b015
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -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
'';
}