diff --git a/home-manager/stylix.nix b/home-manager/stylix.nix index f1d758d..5de4b33 100644 --- a/home-manager/stylix.nix +++ b/home-manager/stylix.nix @@ -1,4 +1,4 @@ -{ breezex-cursor, system, ... }: +{ breezex-cursor, system, pkgs, ... }: { stylix = { enable = true; @@ -15,6 +15,23 @@ name = "BreezeX-Light"; size = 24; }; + + fonts = { + monospace = { + name = "VictorMono Nerd Font"; + package = pkgs.nerdfonts; + }; + + sansSerif = { + name = "IBM Plex Sans"; + package = pkgs.ibm-plex; + }; + + serif = { + name = "CMU Serif"; + package = pkgs.cm_unicode; + }; + }; }; # fix cursor size for some apps diff --git a/nixos/configuration.nix b/nixos/configuration.nix index c80a08d..f3524f3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -175,10 +175,14 @@ fonts = { packages = with pkgs; [ nerdfonts + ibm-plex + cm_unicode ]; fontconfig = { defaultFonts = { monospace = [ "VictorMono NF Medium" ]; + sansSerif = [ "IBM Plex Sans" ]; + serif = [ "CMU Serif" ]; }; }; };