nixos/config/fonts.nix

25 lines
379 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
pkgs,
lib,
config,
...
}:
with lib;
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
};
packages = with pkgs; [
(nerdfonts.override {
fonts = [
"JetBrainsMono"
];
})
];
};
}