28 lines
498 B
Nix
28 lines
498 B
Nix
{
|
|
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
|
|
];
|
|
|
|
fontDir.enable = true;
|
|
};
|
|
environment.sessionVariables = {
|
|
FREETYPE_PROPERTIES = "cff:no-stem-darkening=0 autofitter:no-stem-darkening=0";
|
|
};
|
|
};
|
|
}
|