configure ghostty theme

This commit is contained in:
Rasyidan Akbar F. 2025-09-27 00:29:34 +07:00
commit ab36b7bf4c
2 changed files with 35 additions and 0 deletions

View file

@ -4,6 +4,7 @@
imports = [
./programs/helix.nix
./programs/neovim.nix
./programs/ghostty.nix
./shell/zsh.nix
./shell/tmux.nix
./devtools/default.nix

View file

@ -0,0 +1,34 @@
{ ... }: {
programs.ghostty = {
enable = true;
package = null;
settings = { theme = "dracula"; };
themes.dracula = {
background = "282a36";
foreground = "f8f8f2";
cursor-color = "f8f8f2";
selection-background = "44475a";
selection-foreground = "f8f8f2";
palette = [
"0=#21222c"
"1=#ff5555"
"2=#50fa7b"
"3=#f1fa8c"
"4=#bd93f9"
"5=#ff79c6"
"6=#8be9fd"
"7=#f8f8f2"
"8=#6272a4"
"9=#ff6e6e"
"10=#69ff94"
"11=#ffffa5"
"12=#d6acff"
"13=#ff92df"
"14=#a4ffff"
"15=#ffffff"
];
};
};
}