45 lines
881 B
Nix
45 lines
881 B
Nix
{
|
|
flake.modules.nixos.fonts =
|
|
{ pkgs, ... }:
|
|
{
|
|
fonts = {
|
|
enableDefaultPackages = false;
|
|
packages = with pkgs; [
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
noto-fonts-color-emoji
|
|
iosevka
|
|
jetbrains-mono
|
|
fira-code
|
|
roboto
|
|
fira
|
|
merriweather
|
|
ibm-plex
|
|
lexend
|
|
literata
|
|
montserrat
|
|
source-sans-pro
|
|
source-serif-pro
|
|
];
|
|
|
|
fontconfig = {
|
|
enable = true;
|
|
antialias = true;
|
|
allowBitmaps = false;
|
|
useEmbeddedBitmaps = false;
|
|
|
|
hinting = {
|
|
enable = true;
|
|
autohint = false;
|
|
style = "slight";
|
|
};
|
|
|
|
subpixel = {
|
|
rgba = "none";
|
|
lcdfilter = "none";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|