Fix font config
This commit is contained in:
parent
c6a0d53a9b
commit
9ee689a2b4
1 changed files with 11 additions and 14 deletions
|
@ -8,29 +8,26 @@
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cache32Bit = true;
|
cache32Bit = true;
|
||||||
defaultFonts = {
|
defaultFonts = let
|
||||||
monospace = ["JetBrainsMono Nerd Font" "DejaVu Sans Mono"];
|
unicode-fallback = ["Noto Sans Symbols" "Noto Sans Symbols2"];
|
||||||
sansSerif = ["B612" "DejaVu Sans"];
|
in {
|
||||||
serif = ["Libertinus" "DejaVu Serif"];
|
monospace = ["JetBrainsMono Nerd Font" "Noto Sans Mono"] ++ unicode-fallback;
|
||||||
|
sansSerif = ["B612" "Noto Sans"] ++ unicode-fallback;
|
||||||
|
serif = ["Libertinus Serif" "Noto Serif"] ++ unicode-fallback;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
enableDefaultFonts = true;
|
|
||||||
#fontDir.enable = true;
|
|
||||||
fonts = builtins.attrValues {
|
fonts = builtins.attrValues {
|
||||||
inherit
|
inherit
|
||||||
(pkgs)
|
(pkgs)
|
||||||
# For all my terminal needs.
|
nerdfonts # For all my terminal needs.
|
||||||
|
|
||||||
nerdfonts
|
libertinus # nice text font
|
||||||
# nice text font
|
|
||||||
|
|
||||||
libertinus
|
material-icons # icons in my app
|
||||||
# icons in my app
|
|
||||||
|
|
||||||
material-icons
|
b612 # sans font, very good for displays
|
||||||
# sans font, very good for displays
|
|
||||||
|
|
||||||
b612
|
noto-fonts # for unicode fallback
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue