grimm-nixos-laptop/common/graphics/fonts.nix

28 lines
498 B
Nix
Raw Normal View History

2024-04-30 12:32:03 +02:00
{
2024-05-07 23:31:41 +02:00
lib,
pkgs,
config,
...
}:
{
config =
with config.grimmShared;
lib.mkIf (enable && graphical) {
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-cjk
font-awesome
noto-fonts-emoji
roboto
liberation_ttf
];
2024-04-30 12:32:03 +02:00
2024-05-07 23:31:41 +02:00
fontDir.enable = true;
};
environment.sessionVariables = {
FREETYPE_PROPERTIES = "cff:no-stem-darkening=0 autofitter:no-stem-darkening=0";
};
2024-04-30 12:32:03 +02:00
};
}