flocon/system/programs/fonts.nix

31 lines
681 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
(pkgs.nerdfonts.override {fonts = ["IntelOneMono" "NerdFontsSymbolsOnly"];})
];
enableDefaultPackages = false;
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter Medium" "Symbols Nerd Font"];
monospace = ["IntoneMono NF"];
emoji = ["Apple Color Emoji"];
};
};
};
}