Dmitriy Kholkin bc9e736689 update theme
2022-11-21 02:55:23 +03:00

27 lines
651 B
Nix

{ pkgs, config, lib, ... }:
let
thm = config.lib.base16.theme;
in
{
fonts = {
fonts = with pkgs; [
ibm-plex
(nerdfonts.override { fonts = [ "FiraCode" "VictorMono" ]; })
fira-code
victor-mono
# Icons
font-awesome
material-icons
];
fontconfig = {
enable = lib.mkForce true;
defaultFonts = {
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}" ];
};
};
enableDefaultFonts = true;
};
}