flocon/system/programs/fonts.nix

31 lines
579 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
];
enableDefaultPackages = false;
2024-11-13 22:19:57 +00:00
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter Medium"];
monospace = ["Intel One Mono"];
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
};
};
}