flocon/modules/core/fonts.nix
Anthony Rodriguez b944193615
treewide: pedantic inherits
This fixes inherits and library functions usage, to inherit them
explicitely at top level of the file.
2025-02-23 00:01:57 +01:00

33 lines
645 B
Nix

{
lib,
pkgs,
config,
...
}: let
inherit (lib.modules) mkIf;
in {
config = mkIf config.local.profiles.desktop.enable {
fonts = {
enableDefaultPackages = false;
packages = [
pkgs._0xproto
pkgs.noto-fonts-color-emoji
pkgs.nerd-fonts.symbols-only
pkgs.noto-fonts
pkgs.noto-fonts-cjk-sans
pkgs.noto-fonts-extra
];
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Noto Serif"];
sansSerif = ["Inter Medium"];
monospace = ["0xProto"];
emoji = ["Noto Color Emoji"];
};
};
};
};
}