2020-08-10 01:17:22 +04:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
|
|
thm = config.lib.base16.theme;
|
|
|
|
in
|
|
|
|
{
|
2019-08-27 20:49:08 +00:00
|
|
|
fonts = {
|
|
|
|
fonts = with pkgs; [
|
2020-08-10 01:17:22 +04:00
|
|
|
ibm-plex
|
|
|
|
ibm-plex-powerline
|
|
|
|
fira-code
|
2019-08-27 20:49:08 +00:00
|
|
|
roboto
|
|
|
|
roboto-mono
|
|
|
|
roboto-slab
|
2020-08-10 01:17:22 +04:00
|
|
|
# powerline-fonts
|
2020-08-11 02:38:02 +04:00
|
|
|
# Icons
|
|
|
|
# font-awesome_4
|
|
|
|
font-awesome
|
|
|
|
material-icons
|
|
|
|
# material-design-icons
|
2019-08-27 20:49:08 +00:00
|
|
|
];
|
|
|
|
fontconfig = {
|
2021-02-07 02:38:11 +03:00
|
|
|
enable = lib.mkForce true;
|
2019-08-27 20:49:08 +00:00
|
|
|
defaultFonts = {
|
2020-08-15 19:36:16 +04:00
|
|
|
monospace = [ "${thm.fontMono} ${thm.normalFontSize}" ];
|
|
|
|
sansSerif = [ "${thm.font} ${thm.normalFontSize}" ];
|
|
|
|
serif = [ "${thm.fontSerif} ${thm.normalFontSize}" ];
|
2019-08-27 20:49:08 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
enableDefaultFonts = true;
|
|
|
|
};
|
2020-08-10 01:17:22 +04:00
|
|
|
}
|