2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
2019-03-20 02:57:59 +01:00
|
|
|
with lib;
|
2024-11-20 20:32:38 +01:00
|
|
|
mkIf (elem "fonts" config.machine.conffiles) {
|
|
|
|
fonts = {
|
|
|
|
fontDir.enable = true;
|
|
|
|
enableGhostscriptFonts = true;
|
|
|
|
fontconfig = {
|
|
|
|
enable = true;
|
|
|
|
includeUserConf = false;
|
2019-02-26 13:44:40 +01:00
|
|
|
};
|
2024-11-20 20:32:38 +01:00
|
|
|
packages = with pkgs; [
|
|
|
|
(nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"JetBrainsMono"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|