From cf54076abc9e8634e2fcaeadac66fcae580df28e Mon Sep 17 00:00:00 2001 From: tootbrute Date: Fri, 22 Nov 2024 21:00:53 +0800 Subject: [PATCH] Update NixOS config. --- home.nix | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/home.nix b/home.nix index 2c48e8c..740a02a 100644 --- a/home.nix +++ b/home.nix @@ -23,6 +23,16 @@ home.packages = with pkgs; [ # here is some command line tools I use frequently # feel free to add your own or remove some of them + + # font stuff for alacritty + pkgs.iosevka #font program + (pkgs.nerdfonts.override { + fonts = [ + "IBMPlexMono" + "Iosevka" + "IosevkaTerm" + ]; + }) xreader #pdf viewer @@ -115,11 +125,29 @@ # custom settings settings = { env.TERM = "xterm-256color"; - font = { - size = 14; - # this causes error - #draw_bold_text_with_bright_colors = true; + font = { + normal = { + family = "IosevkaTerm Nerd Font"; + style = "Regular"; }; + bold = { + family = "IosevkaTerm Nerd Font"; + style = "Bold"; + }; + italic = { + family = "IosevkaTerm Nerd Font"; + style = "Italic"; + }; + bold_italic = { + family = "IosevkaTerm Nerd Font"; + style = "Bold Italic"; + }; + size = 16; + }; + +# font = { +# size = 18; +# }; window.dimensions = { lines = 40; columns = 200;