terminal: revert to kitty, since some fonts act weird on ghostty

This commit is contained in:
Christoph Hollizeck 2025-12-15 16:46:46 +01:00
parent e515aae340
commit 595b997e3f
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 29 additions and 31 deletions

View file

@ -4,9 +4,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
catppuccin.kitty.enable = true; catppuccin.kitty.enable = true;
home.sessionVariables.TERMINAL = "kitty"; home.sessionVariables.TERMINAL = "kitty";
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font = { font = {
@ -21,17 +19,21 @@
}; };
}; };
catppuccin.ghostty.enable = true; # catppuccin.ghostty.enable = true;
programs.ghostty = { # programs.ghostty = {
enableFishIntegration = true; # enable = true;
installVimSyntax = true; # enableFishIntegration = true;
# installVimSyntax = true;
settings = { # settings = {
# font-family = "FiraCode Nerd Font";
}; # font-size = 15;
# font-codepoint-map = "U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0C8,U+E0CA,U+E0CC-U+E0D7,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6B7,U+E700-U+E8EF,U+EA60-U+EC1E,U+ED00-U+F2FF,U+EE00-U+EE0B,U+F300-U+F381,U+F400-U+F533,U+F0001-U+F1AF0=Symbols Nerd Font";
}; # background-opacity = 0.9;
# clipboard-paste-protection = true;
# confirm-close-surface = false;
# mouse-scroll-multiplier = 0.3;
# };
# };
}; };
}; };
} }

View file

@ -1,23 +1,19 @@
{ {
flake.modules.nixos.base = flake.modules.nixos.base =
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.variables = { fonts = {
# Enable icons in tooling since we have nerdfonts. enableDefaultPackages = true;
LOG_ICONS = "true";
packages = with pkgs; [
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.symbols-only
];
fontconfig = {
useEmbeddedBitmaps = true;
};
}; };
fonts.packages = with pkgs; [
font-awesome
powerline-fonts
powerline-symbols
nerd-fonts.code-new-roman
nerd-fonts.fira-code
nerd-fonts.symbols-only
nerd-fonts.jetbrains-mono
fira
];
}; };
} }

View file

@ -320,7 +320,7 @@
"Mod+Shift+E".action = actions.quit; "Mod+Shift+E".action = actions.quit;
"Ctrl+Alt+Delete".action = actions.quit; "Ctrl+Alt+Delete".action = actions.quit;
"Mod+Return".action.spawn = "${lib.getExe pkgs.kitty}"; "Mod+Return".action.spawn = "${lib.getExe config.programs.kitty.package}";
"Mod+Escape" = { "Mod+Escape" = {
allow-inhibiting = false; allow-inhibiting = false;

View file

@ -8,7 +8,7 @@
clock24 = true; clock24 = true;
newSession = true; newSession = true;
keyMode = "vi"; keyMode = "vi";
terminal = "ghostty"; terminal = "kitty";
extraConfig = '' extraConfig = ''
set -g mouse on set -g mouse on
''; '';