nixos-config/modules/fonts.nix

21 lines
420 B
Nix
Raw Normal View History

2022-02-16 16:10:37 +00:00
{ pkgs, ... }: {
fonts = {
fontconfig = {
enable = true;
antialias = true;
cache32Bit = true;
defaultFonts = {
2022-06-15 14:57:05 +00:00
monospace = [ "Fira Code" "DejaVu Sans Mono" ];
sansSerif = [ "DejaVu Sans" ];
serif = [ "DejaVu Serif" ];
2022-02-16 16:10:37 +00:00
};
};
enableDefaultFonts = true;
fontDir.enable = true;
fonts = with pkgs; [
dejavu_fonts
fira-code
];
2022-02-03 16:40:32 +00:00
};
}