2023-08-20 04:25:58 -06:00
|
|
|
{ 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;
|
|
|
|
|
2023-08-01 20:15:41 -06:00
|
|
|
nixpkgs.config.joypixels.acceptLicense = true;
|
|
|
|
|
2021-07-10 15:28:43 -06:00
|
|
|
fonts = {
|
2023-07-27 18:18:16 -06:00
|
|
|
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
|
2023-08-01 20:15:41 -06:00
|
|
|
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
|
|
|
|
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
|
2023-08-08 00:27:29 -06:00
|
|
|
(nerdfonts.override { fonts = [
|
|
|
|
"JetBrainsMono"
|
|
|
|
"FantasqueSansMono"
|
|
|
|
"Iosevka"
|
|
|
|
"VictorMono"
|
|
|
|
"SourceCodePro"
|
|
|
|
]; })
|
2021-07-10 15:28:43 -06:00
|
|
|
];
|
|
|
|
fontconfig = {
|
2023-04-21 11:18:22 -06:00
|
|
|
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" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|