nixos/legacy_modules/apps/ghostty.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2025-01-31 15:13:22 +01:00
{
pkgs,
2025-02-03 07:55:17 +01:00
config,
2025-01-31 15:13:22 +01:00
...
}: {
environment.systemPackages = with pkgs; [
ghostty
];
2025-02-18 20:17:57 +01:00
fireproof.home-manager = {
2025-01-31 15:13:22 +01:00
programs.ghostty = {
enable = true;
2025-02-03 07:55:17 +01:00
enableFishIntegration = config.programs.fish.enable;
2025-02-18 20:17:57 +01:00
settings = {
window-decoration = false;
theme = "fireproof";
font-size = 11;
font-family = "Hack Nerd Font";
window-inherit-font-size = false;
};
themes = {
fireproof = {
background = "1C1B1A";
cursor-color = "DAD8CE";
foreground = "DAD8CE";
palette = [
"0=#100F0F"
"1=#AF3029"
"2=#66800B"
"3=#AD8301"
"4=#205EA6"
"5=#A02F6F"
"6=#24837B"
"7=#DAD8CE"
"8=#878580"
"9=#D14D41"
"10=#879A39"
"11=#D0A215"
"12=#4385BE"
"13=#CE5D97"
"14=#3AA99F"
"15=#F2F0E5"
];
selection-background = "403E3C";
selection-foreground = "DAD8CE";
};
};
2025-01-31 15:13:22 +01:00
};
};
fireproof.base.defaults.terminal = "ghostty";
2025-01-31 15:13:22 +01:00
}