feat: add more system fonts
This commit is contained in:
parent
a7314b08f1
commit
2394f856b0
2 changed files with 76 additions and 4 deletions
|
|
@ -388,11 +388,54 @@ in
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.atkinson-hyperlegible-next
|
pkgs.atkinson-hyperlegible-next
|
||||||
pkgs.nerd-fonts.commit-mono
|
pkgs.nerd-fonts.commit-mono
|
||||||
|
pkgs.nerd-fonts.symbols-only
|
||||||
|
pkgs.noto-fonts
|
||||||
|
pkgs.noto-fonts-cjk-sans
|
||||||
|
pkgs.noto-fonts-cjk-serif
|
||||||
|
pkgs.noto-fonts-color-emoji
|
||||||
|
pkgs.symbola
|
||||||
|
pkgs.unifont
|
||||||
|
pkgs.unifont_upper
|
||||||
];
|
];
|
||||||
fontconfig.defaultFonts = {
|
|
||||||
sansSerif = [ "Atkinson Hyperlegible Next" ];
|
fontconfig = {
|
||||||
serif = [ "Atkinson Hyperlegible Next" ];
|
allowBitmaps = false;
|
||||||
monospace = [ "CommitMono Nerd Font" ];
|
useEmbeddedBitmaps = false;
|
||||||
|
|
||||||
|
defaultFonts = {
|
||||||
|
sansSerif = [
|
||||||
|
"Atkinson Hyperlegible Next"
|
||||||
|
"Noto Sans"
|
||||||
|
"Noto Sans CJK JP"
|
||||||
|
"Noto Sans CJK SC"
|
||||||
|
"Noto Sans CJK TC"
|
||||||
|
"Noto Sans CJK HK"
|
||||||
|
"Noto Sans CJK KR"
|
||||||
|
"Symbols Nerd Font"
|
||||||
|
"Noto Color Emoji"
|
||||||
|
"Symbola"
|
||||||
|
"Unifont"
|
||||||
|
];
|
||||||
|
serif = [
|
||||||
|
"Noto Serif"
|
||||||
|
"Noto Serif CJK JP"
|
||||||
|
"Noto Serif CJK SC"
|
||||||
|
"Noto Serif CJK TC"
|
||||||
|
"Noto Serif CJK KR"
|
||||||
|
"Noto Color Emoji"
|
||||||
|
"Symbola"
|
||||||
|
"Unifont"
|
||||||
|
];
|
||||||
|
monospace = [
|
||||||
|
"CommitMono Nerd Font"
|
||||||
|
"Noto Sans Mono"
|
||||||
|
"Noto Sans Mono CJK JP"
|
||||||
|
"Symbols Nerd Font Mono"
|
||||||
|
"Noto Color Emoji"
|
||||||
|
"Unifont"
|
||||||
|
];
|
||||||
|
emoji = [ "Noto Color Emoji" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,35 @@
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
settings = {
|
settings = {
|
||||||
"identity.fxaccounts.enabled" = false;
|
"identity.fxaccounts.enabled" = false;
|
||||||
|
"font.default.ja" = "sans-serif";
|
||||||
|
"font.default.ko" = "sans-serif";
|
||||||
|
"font.default.x-unicode" = "sans-serif";
|
||||||
|
"font.default.x-western" = "sans-serif";
|
||||||
|
"font.default.zh-CN" = "sans-serif";
|
||||||
|
"font.default.zh-HK" = "sans-serif";
|
||||||
|
"font.default.zh-TW" = "sans-serif";
|
||||||
|
"font.name-list.emoji" = "Noto Color Emoji";
|
||||||
|
"font.name.monospace.ja" = "Noto Sans Mono CJK JP";
|
||||||
|
"font.name.monospace.ko" = "Noto Sans Mono CJK KR";
|
||||||
|
"font.name.monospace.x-unicode" = "CommitMono Nerd Font";
|
||||||
|
"font.name.monospace.x-western" = "CommitMono Nerd Font";
|
||||||
|
"font.name.monospace.zh-CN" = "Noto Sans Mono CJK SC";
|
||||||
|
"font.name.monospace.zh-HK" = "Noto Sans Mono CJK HK";
|
||||||
|
"font.name.monospace.zh-TW" = "Noto Sans Mono CJK TC";
|
||||||
|
"font.name.sans-serif.ja" = "Noto Sans CJK JP";
|
||||||
|
"font.name.sans-serif.ko" = "Noto Sans CJK KR";
|
||||||
|
"font.name.sans-serif.x-unicode" = "Atkinson Hyperlegible Next";
|
||||||
|
"font.name.sans-serif.x-western" = "Atkinson Hyperlegible Next";
|
||||||
|
"font.name.sans-serif.zh-CN" = "Noto Sans CJK SC";
|
||||||
|
"font.name.sans-serif.zh-HK" = "Noto Sans CJK HK";
|
||||||
|
"font.name.sans-serif.zh-TW" = "Noto Sans CJK TC";
|
||||||
|
"font.name.serif.ja" = "Noto Serif CJK JP";
|
||||||
|
"font.name.serif.ko" = "Noto Serif CJK KR";
|
||||||
|
"font.name.serif.x-unicode" = "Noto Serif";
|
||||||
|
"font.name.serif.x-western" = "Noto Serif";
|
||||||
|
"font.name.serif.zh-CN" = "Noto Serif CJK SC";
|
||||||
|
"font.name.serif.zh-HK" = "Noto Serif CJK HK";
|
||||||
|
"font.name.serif.zh-TW" = "Noto Serif CJK TC";
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
"ui.prefersReducedMotion" = 1;
|
"ui.prefersReducedMotion" = 1;
|
||||||
"zen.theme.border-radius" = 0;
|
"zen.theme.border-radius" = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue