nix/nixos/common/modules/fonts.nix
2023-09-21 11:01:02 +09:00

21 lines
539 B
Nix

{ pkgs, config, ... }: {
# Fonts
fonts = {
fontconfig = {
defaultFonts = {
# emoji = [ "Noto Color Emoji" ];
monospace = [ "JetBrainsMono Nerd Font" ];
# sansSerif = [ "Arimo Nerd Font" "Sarasa Gothic SC" ];
# serif = [ "Arimo Nerd Font" "Sarasa Gothic SC" ];
};
includeUserConf = false;
};
packages = with pkgs; [
(nerdfonts.override { fonts = [ "Arimo" "JetBrainsMono" ]; })
# noto-fonts-emoji
# sarasa-gothic
font-awesome
];
};
}