aboutsummaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-15 07:52:49 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-15 07:52:49 -0800
commiteb57a78a132f2e61ff641701635ef7982b67c366 (patch)
treec85c76a51ea3dc02f970dacbc16a8e7d2a7b0664 /modules/system
parentref(home/alacritty): use cascadia and larger font size (diff)
downloadinfra-eb57a78a132f2e61ff641701635ef7982b67c366.tar.gz
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).
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/fonts/default.nix16
1 files changed, 14 insertions, 2 deletions
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" ]; };