infra/module/aspect/desktop/font.nix

56 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2025-12-01 13:23:24 +07:00
{
den.aspects = {
font = {
nixos =
{ pkgs, ... }:
{
fonts.packages = with pkgs; [
dina-font
aporetic
monaspace
nerd-fonts.jetbrains-mono
nerd-fonts.im-writing
nerd-fonts.blex-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
noto-fonts-monochrome-emoji
ibm-plex
liberation_ttf
material-icons
fira-code
fira-code-symbols
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
roboto
roboto-mono
];
fonts.fontconfig = {
defaultFonts = {
monospace = [
"nerd-fonts.jetbrains-mono"
];
sansSerif = [ "nerd-fonts.jetbrains-mono" ];
serif = [ "nerd-fonts.jetbrains-mono" ];
};
};
};
homeManager =
{ pkgs, ... }:
{
fonts = {
fontconfig = {
enable = true;
};
};
home.packages = [
# ----- font-icon
pkgs.material-design-icons
pkgs.linearicons-free
];
};
};
};
}