2023-10-08 11:42:08 +02:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
defaultFonts = [
|
|
|
|
pkgs.dejavu_fonts
|
|
|
|
pkgs.freefont_ttf
|
|
|
|
pkgs.gyre-fonts
|
|
|
|
pkgs.liberation_ttf
|
|
|
|
pkgs.unifont
|
|
|
|
];
|
|
|
|
fonts = [
|
|
|
|
pkgs.noto-fonts
|
|
|
|
pkgs.noto-fonts-extra
|
|
|
|
pkgs.noto-fonts-emoji
|
|
|
|
pkgs.noto-fonts-cjk-sans
|
|
|
|
pkgs.noto-fonts-cjk-serif
|
|
|
|
pkgs.wqy_zenhei
|
|
|
|
pkgs.corefonts
|
2024-03-11 16:19:31 +01:00
|
|
|
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
|
|
|
2023-10-08 11:42:08 +02:00
|
|
|
] ++ defaultFonts;
|
|
|
|
|
|
|
|
moreFonts = [
|
|
|
|
pkgs.ubuntu_font_family
|
|
|
|
pkgs.monocraft
|
|
|
|
pkgs.hack-font
|
2023-10-25 19:28:25 +02:00
|
|
|
(pkgs.nerdfonts.override { fonts = [ "DroidSansMono" "Meslo" "ProFont" ]; })
|
2023-10-08 11:42:08 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
|
|
|
|
options.materus.profile.packages.list.fonts = lib.mkOption { default = fonts; readOnly = true; visible = false; };
|
|
|
|
options.materus.profile.packages.list.moreFonts = lib.mkOption { default = moreFonts; readOnly = true; visible = false; };
|
|
|
|
|
|
|
|
}
|