nixos-config/modules/fonts.nix

22 lines
436 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; [
nerdfonts
2022-02-16 16:10:37 +00:00
dejavu_fonts
fira-code
];
2022-02-03 16:40:32 +00:00
};
}