{ pkgs, lib, config, ... }: with lib; mkIf (elem "fonts" config.machine.conffiles) { fonts = { fontDir.enable = true; enableGhostscriptFonts = true; fontconfig = { enable = true; includeUserConf = false; }; packages = with pkgs.nerd-fonts; [ jetbrains-mono ]; }; }