From eb57a78a132f2e61ff641701635ef7982b67c366 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 15 Nov 2022 07:52:49 -0800 Subject: feat(fonts): add iosevka to the list of fonts Replace the use of Source Code Pro with Iosevka in a few applications (sway, waybar, alacritty). --- modules/system/fonts/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/system/fonts/default.nix b/modules/system/fonts/default.nix index ab5117d..acef713 100644 --- a/modules/system/fonts/default.nix +++ b/modules/system/fonts/default.nix @@ -1,5 +1,10 @@ { pkgs, config, lib, ... }: -let cfg = config.my.systems.fonts; +let + cfg = config.my.systems.fonts; + iosevka-aile = pkgs.iosevka-bin.override { variant = "aile"; }; + iosevka-curly = pkgs.iosevka-bin.override { variant = "curly"; }; + iosevka-etoile = pkgs.iosevka-bin.override { variant = "etoile"; }; + iosevka-slab = pkgs.iosevka-bin.override { variant = "slab"; }; in { options.my.systems.fonts = with lib; { @@ -12,8 +17,16 @@ in fontDir.enable = true; fontconfig.enable = true; fonts = with pkgs; [ + cascadia-code dejavu_fonts + fira-code font-awesome_5 + iosevka + iosevka-aile + iosevka-bin + iosevka-curly + iosevka-etoile + iosevka-slab noto-fonts noto-fonts-cjk # Chinese, Japanese, Korean noto-fonts-emoji @@ -22,7 +35,6 @@ in source-code-pro source-sans-pro source-serif-pro - cascadia-code ]; fontconfig.defaultFonts = { monospace = [ "Source Code Pro" ]; }; -- cgit 1.4.1