add fonts.nix
This commit is contained in:
parent
19c4f11670
commit
1741067800
@ -1,6 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./fonts.nix
|
||||
./home-manager.nix
|
||||
./locale.nix
|
||||
./hyprland.nix
|
||||
|
29
modules/fonts.nix
Normal file
29
modules/fonts.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
fonts = {
|
||||
enableDefaultFonts = false;
|
||||
|
||||
fonts = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-emoji
|
||||
maple-mono
|
||||
font-awesome
|
||||
nerdfonts
|
||||
kanji-stroke-order-font
|
||||
liberation_ttf
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "Noto Serif CJK JP" "Noto Serif" ];
|
||||
sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ];
|
||||
monospace = [ "Noto Mono CJK JP" "Noto Mono" ];
|
||||
};
|
||||
|
||||
allowBitmaps = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user