feat: Enable fallback fonts
This commit is contained in:
parent
d00ea607e1
commit
a3ce3b2944
1 changed files with 17 additions and 14 deletions
|
@ -1,26 +1,29 @@
|
||||||
{ config, pkgs }:
|
{ config, pkgs }:
|
||||||
let
|
let
|
||||||
cfg = config.jconfig.styling;
|
cfg = config.jconfig.styling;
|
||||||
# nerdFontSymbols = pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
|
nerdFontSymbols = pkgs.nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; };
|
||||||
# fallbackSymbols = {
|
fallbackSymbols = {
|
||||||
# name = "Symbols Nerd Font";
|
name = "Symbols Nerd Font";
|
||||||
# package = nerdFontSymbols;
|
package = nerdFontSymbols;
|
||||||
# };
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
autoEnable = cfg.enable;
|
autoEnable = cfg.enable;
|
||||||
image = cfg.wallpaper;
|
image = cfg.wallpaper;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
fonts.monospace.name = "JetBrains Mono";
|
fonts.monospace = [
|
||||||
fonts.monospace.package = pkgs.jetbrains-mono;
|
{ name = "JetBrains Mono"; package = pkgs.jetbrains-mono; }
|
||||||
fonts.sansSerif.name = "Noto Sans";
|
fallbackSymbols
|
||||||
fonts.sansSerif.package = pkgs.noto-fonts;
|
];
|
||||||
fonts.serif.name = "Noto Serif";
|
fonts.sansSerif = [
|
||||||
fonts.serif.package = pkgs.noto-fonts;
|
{ name = "Noto Sans"; package = pkgs.noto-fonts; }
|
||||||
# fonts.fallbackFonts.monospace = [ fallbackSymbols ];
|
fallbackSymbols
|
||||||
# fonts.fallbackFonts.sansSerif = [ fallbackSymbols ];
|
];
|
||||||
# fonts.fallbackFonts.serif = [ fallbackSymbols ];
|
fonts.serif = [
|
||||||
|
{ name = "Noto Serif"; package = pkgs.noto-fonts; }
|
||||||
|
fallbackSymbols
|
||||||
|
];
|
||||||
fonts.sizes.popups = 12;
|
fonts.sizes.popups = 12;
|
||||||
targets.plymouth.logoAnimated = false;
|
targets.plymouth.logoAnimated = false;
|
||||||
targets.plymouth.logo = cfg.bootLogo;
|
targets.plymouth.logo = cfg.bootLogo;
|
||||||
|
|
Loading…
Reference in a new issue