aboutsummaryrefslogtreecommitdiffstats
path: root/nixos/desktop/fonts.nix
blob: 38b3ca75e1a194765c83c858a8dc30390c0cd740 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{pkgs, ...}: {
  fonts = {
    enableDefaultPackages = true;
    fontconfig = {
      enable = true;
      defaultFonts = {
        emoji = ["Noto Color Emoji"];
        monospace = [
          "Liberation Mono"
        ];
        sansSerif = [
          "Liberation Sans"
        ];
        serif = [
          "Liberation Serif"
        ];
      };
      hinting = {
        enable = true;
        style = "full";
        autohint = true;
      };
    };
    fontDir.enable = true;
    enableGhostscriptFonts = true;
    packages = with pkgs; [
      fira
      fira-mono
      fira-code
      hack-font
      inter
      iosevka
      liberation_ttf
      nerdfonts
      noto-fonts
      noto-fonts-color-emoji
      roboto
      roboto-mono
      roboto-serif
    ];
  };
}