27 lines
638 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 = {
2023-08-04 02:37:47 +03:00
packages = with pkgs; [
2020-08-10 01:17:22 +04:00
ibm-plex
2024-12-28 11:38:49 +03:00
nerd-fonts.fira-code
nerd-fonts.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
};
};
2023-08-04 02:37:47 +03:00
enableDefaultPackages = true;
2024-07-07 17:05:00 +03:00
fontDir.enable = true;
2019-08-27 20:49:08 +00:00
};
2022-10-08 04:38:45 +03:00
}