gui: Change font configuration
This commit is contained in:
parent
5263c62c29
commit
57dafbe7e1
6 changed files with 14 additions and 26 deletions
|
|
@ -15,12 +15,12 @@
|
|||
};
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.lxgw-wenkai;
|
||||
name = "LXGW WenKai";
|
||||
package = pkgs.libertinus;
|
||||
name = "Libertinus Serif";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.source-han-sans;
|
||||
name = "Source Han Sans SC";
|
||||
name = "Source Han Sans";
|
||||
};
|
||||
monospace = {
|
||||
package = pkgs.maple-mono.NF-CN;
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@
|
|||
};
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.lxgw-wenkai;
|
||||
name = "LXGW WenKai";
|
||||
package = pkgs.libertinus;
|
||||
name = "Libertinus Serif";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.source-han-sans;
|
||||
name = "Source Han Sans SC";
|
||||
name = "Source Han Sans";
|
||||
};
|
||||
monospace = {
|
||||
package = pkgs.maple-mono.NF-CN;
|
||||
|
|
|
|||
|
|
@ -31,31 +31,19 @@ in {
|
|||
fonts = {
|
||||
enableDefaultPackages = false;
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
maple-mono.NF-CN
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-emoji
|
||||
lxgw-wenkai
|
||||
source-sans
|
||||
source-serif
|
||||
source-han-serif
|
||||
source-han-sans
|
||||
libertinus
|
||||
];
|
||||
fontconfig.defaultFonts = {
|
||||
serif = [
|
||||
"LXGW WenKai"
|
||||
"Source Han Serif SC"
|
||||
"Noto Serif CJK SC"
|
||||
"Source Serif 4"
|
||||
"Noto Serif"
|
||||
"Libertinus Serif"
|
||||
"Source Han Serif"
|
||||
];
|
||||
sansSerif = [
|
||||
"Source Han Sans SC"
|
||||
"Noto Sans CJK SC"
|
||||
"Source Sans 3"
|
||||
"Noto Sans"
|
||||
"Source Han Sans"
|
||||
];
|
||||
monospace = [
|
||||
"Maple Mono NF CN"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue