use new fonts

This commit is contained in:
Cyryl Płotnicki 2022-03-08 15:50:45 +00:00
parent 555aa162c5
commit b93f3cc38f
2 changed files with 8 additions and 7 deletions

View file

@ -61,7 +61,11 @@
autoPrune.enable = true; autoPrune.enable = true;
}; };
fonts.fontconfig.enable = true; fonts.fontconfig = {
enable = true;
defaultFonts.monospace = [ "Berkeley Mono" ];
};
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
(fetchzip { (fetchzip {
name = "berkeley-mono-fonts"; name = "berkeley-mono-fonts";

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }: {
{ home.sessionVariables = { TERMINAL = "kitty"; };
home.sessionVariables = {
TERMINAL = "kitty";
};
programs.kitty = { programs.kitty = {
enable = true; enable = true;
@ -10,7 +7,7 @@
enable_audio_bell = false; enable_audio_bell = false;
font_size = "16.0"; font_size = "16.0";
font_family = "FiraCode Nerd Font"; font_family = "Berkeley Mono";
bold_font = "auto"; bold_font = "auto";
italic_font = "auto"; italic_font = "auto";
bold_italic_font = "auto"; bold_italic_font = "auto";