2021-11-21 19:07:12 +01:00
|
|
|
{ lib, pkgs, config, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.eboskma.fonts;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
options.eboskma.fonts = { enable = mkEnableOption "activate fonts"; };
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
|
|
|
fonts = {
|
|
|
|
|
|
|
|
fontDir.enable = true;
|
|
|
|
|
|
|
|
fonts = with pkgs; [
|
2021-11-22 08:04:54 +01:00
|
|
|
(nerdfonts.override { fonts = [ "CascadiaCode" "DroidSansMono" "FantasqueSansMono" "FiraCode" "Iosevka" "JetBrainsMono" "Meslo" "Noto" "SourceCodePro" ]; })
|
2021-11-21 19:07:12 +01:00
|
|
|
dejavu_fonts
|
2021-11-22 18:56:59 +01:00
|
|
|
google-fonts
|
2021-11-21 19:07:12 +01:00
|
|
|
kochi-substitute
|
|
|
|
noto-fonts-emoji
|
|
|
|
corefonts
|
|
|
|
recursive
|
|
|
|
ttf_bitstream_vera
|
|
|
|
];
|
|
|
|
|
|
|
|
fontconfig = {
|
|
|
|
defaultFonts = {
|
|
|
|
serif = [ "Recursive Sans Casual Static Medium" ];
|
|
|
|
sansSerif = [ "Recursive Sans Linear Static Medium" ];
|
|
|
|
monospace = [ "Iosevka Nerd Font" ];
|
|
|
|
emoji = [ "Noto Color Emoji" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|