about summary refs log tree commit diff
path: root/hosts/common/desktop/fonts.nix
blob: 1148f2d3debfcdea44ee3b66cc9462f7128ace51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ pkgs, config, lib, ... }:

{
  fonts = {
    enableFontDir = true;
    enableDefaultFonts = true;
    fontconfig.enable = true;
    fontconfig.ultimate.enable = true;
    fonts = with pkgs; [
      dejavu_fonts
      noto-fonts
      noto-fonts-cjk # Chinese, Japanese, Korean
      noto-fonts-emoji
      noto-fonts-emoji
      noto-fonts-extra
      source-code-pro
      source-sans-pro
      source-serif-pro
    ];

    fontconfig.defaultFonts = {
      monospace = [ "Source Code Pro" ];
    };
  };
}