29 lines
656 B
Nix
Raw Normal View History

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
2021-09-28 01:50:20 +03:00
victor-mono
2020-08-11 02:38:02 +04:00
# Icons
font-awesome
material-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 = {
2021-09-16 01:03:52 +03:00
monospace = [ "${thm.fonts.mono.family} ${thm.fontSizes.normal.str}" ];
sansSerif = [ "${thm.fonts.main.family} ${thm.fontSizes.normal.str}" ];
serif = [ "${thm.fonts.serif.family} ${thm.fontSizes.normal.str}" ];
2019-08-27 20:49:08 +00:00
};
};
enableDefaultFonts = true;
};
2020-08-10 01:17:22 +04:00
}