summaryrefslogtreecommitdiff
path: root/hosts/common/fonts.nix
blob: 698b4fb5e14e1d720e9530e1e956d4b056591f81 (plain)
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
{
  pkgs,
  desktop,
  ...
}:
if desktop != ""
then {
  fonts = {
    enableDefaultFonts = true;
    fonts = with pkgs; [
      corefonts
      fira-code
      (nerdfonts.override {fonts = ["FiraCode"];})
      noto-fonts
      noto-fonts-extra
      noto-fonts-emoji
      noto-fonts-cjk-sans
    ];
    fontconfig.defaultFonts = {
      serif = ["Noto Serif"];
      sansSerif = ["Noto Sans"];
      emoji = ["Noto Color Emoji"];
      monospace = ["Fira Code"];
    };
  };
}
else {}