mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 10:24:09 +09:00
fix
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.system.fonts;
|
||||
in
|
||||
{
|
||||
options.my.system.fonts = {
|
||||
enable = lib.mkEnableOption "system font configuration";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-color-emoji
|
||||
terminus_font
|
||||
cantarell-fonts
|
||||
font-awesome
|
||||
nerd-fonts.blex-mono
|
||||
];
|
||||
|
||||
fontDir.enable = true;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [
|
||||
"Noto Serif CJK JP"
|
||||
"Noto Color Emoji"
|
||||
];
|
||||
sansSerif = [
|
||||
"Noto Sans CJK JP"
|
||||
"Noto Clor Emoji"
|
||||
];
|
||||
emoji = [ "Noto Color Emoji" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user