37 lines
822 B
Nix
37 lines
822 B
Nix
{ pkgs, config, lib, ... }: {
|
|
fonts = {
|
|
fonts = with pkgs; [
|
|
ibm-plex
|
|
nerdfonts
|
|
material-design-icons
|
|
material-icons
|
|
fira-code
|
|
fira-code-symbols
|
|
];
|
|
fontconfig = let fonts = config.themes.fonts;
|
|
in {
|
|
enable = lib.mkForce true;
|
|
defaultFonts = {
|
|
monospace = [ "${fonts.mono.family} ${toString fonts.mono.size}" ];
|
|
sansSerif = [ "${fonts.main.family} ${toString fonts.main.size}" ];
|
|
serif = [ "${fonts.serif.family} ${toString fonts.serif.size}" ];
|
|
};
|
|
};
|
|
enableDefaultFonts = true;
|
|
};
|
|
themes.fonts = {
|
|
main = {
|
|
family = "IBM Plex Sans";
|
|
size = 13;
|
|
};
|
|
serif = {
|
|
family = "IBM Plex Serif";
|
|
size = 13;
|
|
};
|
|
mono = {
|
|
family = "IBM Plex Mono";
|
|
size = 13;
|
|
};
|
|
};
|
|
}
|