mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
added fonts
This commit is contained in:
1 parent
7a1c01ddfa
commit
056e198028
1 file changed
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
ipaexfont
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.caskaydia-cove
|
||||
noto-fonts-cjk-sans
|
||||
nerd-fonts.symbols-only
|
||||
inputs.apple-fonts.packages.${system}.sf-pro
|
||||
inputs.apple-fonts.packages.${system}.sf-mono
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
antialias = true;
|
||||
|
||||
hinting = {
|
||||
enable = true;
|
||||
style = "slight";
|
||||
autohint = false;
|
||||
};
|
||||
|
||||
subpixel = {
|
||||
rgba = "rgb";
|
||||
lcdfilter = "default";
|
||||
};
|
||||
|
||||
defaultFonts = {
|
||||
serif = [
|
||||
"JetBrainsMono Nerd Font"
|
||||
"Noto Serif CJK JP"
|
||||
"Noto Serif"
|
||||
"IPAexMincho"
|
||||
];
|
||||
sansSerif = [
|
||||
"JetBrainsMono Nerd Font"
|
||||
"Noto Sans CJK JP"
|
||||
"Noto Sans"
|
||||
"IPAexGothic"
|
||||
];
|
||||
monospace = [
|
||||
"JetBrainsMono Nerd Font Mono"
|
||||
"JetBrainsMono Nerd Font"
|
||||
"Noto Sans Mono CJK JP"
|
||||
"Noto Sans CJK JP"
|
||||
"IPAexGothic"
|
||||
];
|
||||
emoji = [ "Noto Color Emoji" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user