38 lines
645 B
Nix
38 lines
645 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
fonts.enableDefaultPackages = true;
|
|
fonts.packages = with pkgs; [
|
|
nerd-fonts.droid-sans-mono
|
|
nerd-fonts.fira-code
|
|
fira
|
|
jetbrains-mono
|
|
nerd-fonts.jetbrains-mono
|
|
iosevka
|
|
roboto
|
|
inter
|
|
source-code-pro
|
|
source-sans-pro
|
|
source-serif-pro
|
|
inconsolata
|
|
];
|
|
|
|
fonts.fontconfig = {
|
|
antialias = true;
|
|
cache32Bit = true;
|
|
hinting.enable = true;
|
|
hinting.autohint = true;
|
|
subpixel.rgba = "rgb";
|
|
defaultFonts = {
|
|
monospace = [ "Source Code Pro" ];
|
|
sansSerif = [ "Source Sans Pro" ];
|
|
serif = [ "Source Serif Pro" ];
|
|
};
|
|
};
|
|
}
|