1
0
Fork 0

feature(kitty): add font package to ensure availability

This commit is contained in:
Philipp 2025-05-17 01:13:14 +02:00
parent c99ad3d97a
commit 7e53c288fe
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
2 changed files with 24 additions and 20 deletions

View file

@ -20,7 +20,8 @@ let
cursor_shape = "Beam";
};
defaultFont = {
name = "Hack Nerd Font";
name = "Hack Nerd Font Mono";
package = pkgs.nerd-fonts.hack;
size = 12;
};
in
@ -33,7 +34,10 @@ in
};
config = mkIf cfg.enable {
home.packages = [ pkgs.kitty-themes ];
home.packages = [
pkgs.kitty-themes
defaultFont.package
]; # fc-cache -fv clear fontconfig when error
programs.kitty = {
enable = true;
themeFile = "tokyo_night_night";