aboutsummaryrefslogblamecommitdiffstats
path: root/nixos/desktop/fonts.nix
blob: 38b3ca75e1a194765c83c858a8dc30390c0cd740 (plain) (tree)









































                                     
{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
    ];
  };
}