nixos/config/fonts.nix

20 lines
319 B
Nix

{
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
];
};
}