flocon/system/programs/fonts.nix

32 lines
681 B
Nix
Raw Normal View History

2024-11-14 21:13:04 +00:00
{
inputs,
pkgs,
...
}: {
fonts = {
2024-11-13 22:19:57 +00:00
fontDir = {
enable = true;
decompressFonts = true;
};
2024-11-14 21:13:04 +00:00
packages = [
pkgs.noto-fonts
pkgs.noto-fonts-cjk-sans
pkgs.noto-fonts-extra
pkgs.intel-one-mono
inputs.self.packages.${pkgs.system}.apple-emoji-color
(pkgs.nerdfonts.override {fonts = ["IntelOneMono" "NerdFontsSymbolsOnly"];})
];
enableDefaultPackages = false;
2024-11-13 22:19:57 +00:00
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter Medium" "Symbols Nerd Font"];
monospace = ["IntoneMono NF"];
2024-11-14 21:13:04 +00:00
emoji = ["Apple Color Emoji"];
2024-11-13 22:19:57 +00:00
};
2024-10-01 09:51:08 +00:00
};
};
}