From b93f3cc38f28417f4cfd5623b2cdffa64b1b8fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 8 Mar 2022 15:50:45 +0000 Subject: [PATCH] use new fonts --- nixos/common.nix | 6 +++++- nixos/home-manager/programs/kitty.nix | 9 +++------ 2 files changed, 8 insertions(+), 7 deletions(-) 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";