refactor(modules): move fonts from common to nixos only

This commit is contained in:
Youwen Wu 2024-08-08 02:41:31 -07:00
parent b120665d29
commit f1bd68c3c9
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
2 changed files with 2 additions and 2 deletions

18
modules/nixos/fonts/default.nix Executable file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }: {
fonts = {
enableDefaultPackages = true;
fontconfig = {
defaultFonts = {
serif = [ "Noto Serif" ];
sansSerif = [ "Noto Sans" ];
};
};
packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
(nerdfonts.override { fonts = [ "CascadiaCode" ]; })
(google-fonts.override { fonts = [ "Lora" ]; })
];
};
}