dotfiles/nixos/fonts.nix

39 lines
839 B
Nix
Raw Normal View History

2021-07-10 15:29:34 -06:00
{ pkgs, ... }:
2021-07-10 15:28:43 -06:00
{
# Enable the gtk icon cache
gtk.iconCache.enable = true;
nixpkgs.config.joypixels.acceptLicense = true;
2021-07-10 15:28:43 -06:00
fonts = {
packages = with pkgs; [
2023-07-28 11:17:08 -06:00
cascadia-code
2021-07-10 15:28:43 -06:00
dejavu_fonts
2021-09-29 19:33:28 -06:00
emacs-all-the-icons-fonts
joypixels
2021-07-12 20:12:07 -06:00
fira-code
2021-07-10 15:28:43 -06:00
fira-mono
2022-04-04 15:51:14 -06:00
font-awesome
# iosevka
2021-07-10 15:28:43 -06:00
noto-fonts-emoji
roboto
source-code-pro
source-sans-pro
source-serif-pro
2021-07-12 16:44:43 -06:00
twemoji-color-font
2021-09-29 19:33:28 -06:00
(nerdfonts.override { fonts = [ "JetBrainsMono" "FantasqueSansMono" ]; })
2021-07-10 15:28:43 -06:00
];
fontconfig = {
hinting.autohint = true;
antialias = true;
2021-07-10 15:28:43 -06:00
allowBitmaps = true;
useEmbeddedBitmaps = true;
defaultFonts = {
2021-07-19 19:38:18 -06:00
monospace = [ "Source Code Pro" ];
2021-07-10 15:28:43 -06:00
sansSerif = [ "Roboto" ];
serif = [ "Source Serif Pro" ];
};
};
};
}