dotfiles/nixos/modules/fonts.nix
2025-01-14 16:17:42 -06:00

42 lines
621 B
Nix
Executable file

{
pkgs,
flake,
...
}: let
inherit
(flake.config.aesthetics.themes)
font
;
in {
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
serif = [
font
];
monospace = [
font
];
sansSerif = [
font
];
emoji = [
"Noto Fonts Color Emoji"
];
};
antialias = true;
};
packages = builtins.attrValues {
inherit
(pkgs)
noto-fonts-color-emoji
dosis
;
inherit
(pkgs.nerd-fonts)
monaspace
;
};
};
}