add ghostty config

This commit is contained in:
lucy 2026-10-15 12:49:26 +02:00
commit 105485397f
4 changed files with 30 additions and 19 deletions

View file

@ -4,22 +4,31 @@
inputs,
...
}:
let
ghosttyTheme = config.scheme {
templateRepo = inputs.tt-terminal;
target = "ghostty-base24";
check-parsed-config-yaml = false;
};
in
{
file.xdg_config.ghostty = {
text = ''
quit-after-last-window-closed = false
theme = "tinted-theming"
font-family = "JetBrainsMono Nerd Font"
font-size = 14
window-padding-x = 15
window-padding-y = 15
shell-integration = none
confirm-close-surface = false
'';
target = "ghostty/config.ghostty";
users.users.lucy.maid.file = {
xdg_config.ghostty = {
text = ''
quit-after-last-window-closed = false
theme = "tinted-theming"
font-family = "JetBrainsMono Nerd Font"
font-size = 14
window-padding-x = 15
window-padding-y = 15
shell-integration = none
confirm-close-surface = false
'';
target = "ghostty/config.ghostty";
};
xdg_config.ghostty_theme = {
text = builtins.readFile ghosttyTheme;
target = "ghostty/themes/tinted-theming";
};
};
# file.xdg_config.ghostty_theme = {
# text = "${builtins.readFile (config.scheme "${inputs.tt-terminal}/themes/ghostty/")}";
# target = "ghostty/themes/tinted-theming";
# };
}