Files
dotfiles/nixos/fonts.nix

42 lines
933 B
Nix
Raw Normal View History

{ pkgs, makeEnable, config, ... }:
2024-09-26 14:15:27 -06:00
makeEnable config "myModules.fonts" true {
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 17:17:08 +00: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
2023-08-08 00:27:29 -06:00
2025-11-18 12:53:05 -08:00
noto-fonts-color-emoji
2021-07-10 15:28:43 -06:00
roboto
source-code-pro
source-sans-pro
source-serif-pro
2021-07-12 16:44:43 -06:00
twemoji-color-font
2024-12-16 17:21:36 -07:00
nerd-fonts.jetbrains-mono
nerd-fonts.fantasque-sans-mono
nerd-fonts.iosevka
nerd-fonts.victor-mono
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 = {
2024-12-16 17:23:16 -07:00
monospace = [ "JetBrains Mono" ];
2021-07-10 15:28:43 -06:00
sansSerif = [ "Roboto" ];
serif = [ "Source Serif Pro" ];
};
};
};
}