mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-17 22:49:42 +02:00
fix: kmscon - show neo-tree icons
fix: darwin fonts chore: fonts - add Sarasa Gothic
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
{pkgs, ...}: {
|
||||
# Fonts
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
# icon fonts
|
||||
material-design-icons
|
||||
font-awesome
|
||||
|
||||
source-sans # 无衬线字体,不含汉字。
|
||||
source-serif # 衬线字体,不含汉字。
|
||||
source-han-sans # 思源黑体
|
||||
source-han-serif # 思源宋体
|
||||
|
||||
# nerdfonts
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable-small/pkgs/data/fonts/nerd-fonts/manifests/fonts.json
|
||||
nerd-fonts.symbols-only # symbols icon only
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.iosevka
|
||||
|
||||
julia-mono
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -41,6 +41,7 @@
|
||||
nerd-fonts.iosevka
|
||||
|
||||
julia-mono
|
||||
# sarasa-gothic # 更纱黑体,一种基于 Inter、Iosevka 和 Source Han Sans 的 CJK 复合字体
|
||||
];
|
||||
|
||||
# User defined default fonts
|
||||
@@ -80,8 +81,8 @@
|
||||
enable = true;
|
||||
fonts = with pkgs; [
|
||||
{
|
||||
name = "Source Code Pro";
|
||||
package = source-code-pro;
|
||||
name = "JetBrainsMono Nerd Font";
|
||||
package = nerd-fonts.jetbrains-mono;
|
||||
}
|
||||
# CJK font
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user