21 lines
439 B
Nix
21 lines
439 B
Nix
{ lib, config, pkgs, ... }: let
|
|
inherit (lib) mkIf;
|
|
inherit (config) conf;
|
|
in mkIf conf.fonts.enable {
|
|
fonts = {
|
|
packages = with pkgs; [
|
|
alegreya
|
|
alegreya-sans
|
|
nerd-fonts.fira-code
|
|
roboto
|
|
ubuntu_font_family
|
|
];
|
|
fontconfig = {
|
|
defaultFonts = {
|
|
serif = [ "Alegreya" ];
|
|
sansSerif = [ "Alegreya Sans" ];
|
|
monospace = [ "Fira Code Nerd Font" ];
|
|
};
|
|
};
|
|
};
|
|
}
|