31 lines
561 B
Nix
31 lines
561 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (config.grimmShared) enable graphical;
|
|
in
|
|
{
|
|
config = lib.mkIf (enable && graphical) {
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
noto-fonts
|
|
noto-fonts-cjk-sans
|
|
font-awesome
|
|
# noto-fonts-emoji
|
|
noto-fonts-monochrome-emoji
|
|
roboto
|
|
liberation_ttf
|
|
# nerdfonts
|
|
];
|
|
|
|
fontDir.enable = true;
|
|
};
|
|
environment.sessionVariables = {
|
|
FREETYPE_PROPERTIES = "cff:no-stem-darkening=0 autofitter:no-stem-darkening=0";
|
|
};
|
|
};
|
|
}
|