45 lines
970 B
Nix
45 lines
970 B
Nix
{ pkgs, makeEnable, config, ... }:
|
|
makeEnable config "myModules.fonts" true {
|
|
# Enable the gtk icon cache
|
|
gtk.iconCache.enable = true;
|
|
|
|
nixpkgs.config.joypixels.acceptLicense = true;
|
|
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
cascadia-code
|
|
dejavu_fonts
|
|
emacs-all-the-icons-fonts
|
|
joypixels
|
|
fira-code
|
|
fira-mono
|
|
font-awesome
|
|
|
|
noto-fonts-emoji
|
|
roboto
|
|
source-code-pro
|
|
source-sans-pro
|
|
source-serif-pro
|
|
twemoji-color-font
|
|
(nerdfonts.override { fonts = [
|
|
"JetBrainsMono"
|
|
"FantasqueSansMono"
|
|
"Iosevka"
|
|
"VictorMono"
|
|
"SourceCodePro"
|
|
]; })
|
|
];
|
|
fontconfig = {
|
|
hinting.autohint = true;
|
|
antialias = true;
|
|
allowBitmaps = true;
|
|
useEmbeddedBitmaps = true;
|
|
defaultFonts = {
|
|
monospace = [ "Source Code Pro" ];
|
|
sansSerif = [ "Roboto" ];
|
|
serif = [ "Source Serif Pro" ];
|
|
};
|
|
};
|
|
};
|
|
}
|