nixos-config/modules/fonts.nix
2022-06-15 16:57:05 +02:00

21 lines
420 B
Nix

{ pkgs, ... }: {
fonts = {
fontconfig = {
enable = true;
antialias = true;
cache32Bit = true;
defaultFonts = {
monospace = [ "Fira Code" "DejaVu Sans Mono" ];
sansSerif = [ "DejaVu Sans" ];
serif = [ "DejaVu Serif" ];
};
};
enableDefaultFonts = true;
fontDir.enable = true;
fonts = with pkgs; [
dejavu_fonts
fira-code
];
};
}