modules/locale: add fontconfig, fix types
This commit is contained in:
parent
84c03d7152
commit
450e497cb4
2 changed files with 25 additions and 14 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue