flocon/system/programs/fonts.nix

30 lines
579 B
Nix

{
inputs,
pkgs,
...
}: {
fonts = {
fontDir = {
enable = true;
decompressFonts = true;
};
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;
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter Medium"];
monospace = ["Intel One Mono"];
emoji = ["Apple Color Emoji"];
};
};
};
}