blob: 286f6709dc3ae99969504d8b7160c0f943d5a3e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ config, lib, pkgs, ...} : with lib; {
options.santi-modules.font-config.enable = mkOption {
type = types.bool;
default = true;
description = "Installs default fonts.";
};
config = mkIf config.santi-modules.font-config.enable {
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
monospace = [ "Iosevka" "IPAGothic" ];
serif = [ "DejaVu Serif" "IPAPMincho" ];
};
};
packages = with pkgs; [
(nerdfonts.override { fonts = [ "Iosevka" "FiraCode" ]; })
ipafont
kochi-substitute
dejavu_fonts
];
};
};
}
|