nixos-config/configurations/profile/common/packages/fonts.nix

36 lines
842 B
Nix
Raw Permalink Normal View History

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-31 21:11:40 +02:00
pkgs.hack-font
(pkgs.nerdfonts.override { fonts = [ "Hack" ]; })
2024-03-11 16:19:31 +01:00
2023-10-08 11:42:08 +02:00
] ++ defaultFonts;
moreFonts = [
pkgs.ubuntu_font_family
pkgs.monocraft
2024-03-31 21:11:40 +02:00
(pkgs.nerdfonts.override { fonts = [ "DroidSansMono" "Meslo" "ProFont" "FiraCode"]; })
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; };
}