diff --git a/nixos/common.nix b/nixos/common.nix index dfb2319e..076fda6d 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -61,7 +61,11 @@ autoPrune.enable = true; }; - fonts.fontconfig.enable = true; + fonts.fontconfig = { + enable = true; + defaultFonts.monospace = [ "Berkeley Mono" ]; + }; + fonts.fonts = with pkgs; [ (fetchzip { name = "berkeley-mono-fonts"; diff --git a/nixos/home-manager/programs/kitty.nix b/nixos/home-manager/programs/kitty.nix index 20395221..129f0e99 100644 --- a/nixos/home-manager/programs/kitty.nix +++ b/nixos/home-manager/programs/kitty.nix @@ -1,8 +1,5 @@ -{ config, pkgs, ... }: -{ - home.sessionVariables = { - TERMINAL = "kitty"; - }; +{ config, pkgs, ... }: { + home.sessionVariables = { TERMINAL = "kitty"; }; programs.kitty = { enable = true; @@ -10,7 +7,7 @@ enable_audio_bell = false; font_size = "16.0"; - font_family = "FiraCode Nerd Font"; + font_family = "Berkeley Mono"; bold_font = "auto"; italic_font = "auto"; bold_italic_font = "auto";