modules/locale: add fontconfig, fix types

This commit is contained in:
Infinidoge 2021-12-03 22:51:40 -05:00
parent 84c03d7152
commit 450e497cb4
2 changed files with 25 additions and 14 deletions

View file

@ -87,18 +87,15 @@ in
steam.enable = true;
};
fonts = {
fonts = with pkgs; [
dejavu_fonts
emacs-all-the-icons-fonts
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
];
modules = {
locale.fonts = {
fonts = with pkgs; [
(nerdfonts.override { fonts = modules.locale.fonts.defaults.monospace; })
dejavu_fonts
];
fontconfig = {
enable = lib.mkDefault true;
defaultFonts = {
defaults = {
monospace = [ "DejaVuSansMono" ];
sansSerif = [ "DejaVu Sans" ];
};
};
};