Skip to content

Commit

Permalink
system/fonts: insert Symbols Nerd Font
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed May 5, 2024
1 parent fdcd238 commit de37098
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions system/programs/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@
# user defined fonts
# the reason there's Noto Color Emoji everywhere is to override DejaVu's
# B&W emojis that would sometimes show instead of some Color emojis
fontconfig.defaultFonts = {
serif = ["Noto Serif" "Noto Color Emoji"];
sansSerif = ["Inter" "Noto Color Emoji"];
monospace = ["JetBrains Mono" "Noto Color Emoji"];
emoji = ["Noto Color Emoji"];
};
fontconfig.defaultFonts = let
addAll = builtins.mapAttrs (k: v: ["Symbols Nerd Font"] ++ v ++ ["Noto Color Emoji"]);
in
addAll {
serif = ["Noto Serif"];
sansSerif = ["Inter"];
monospace = ["JetBrains Mono"];
emoji = [];
};
};
}

0 comments on commit de37098

Please sign in to comment.