nix-conf/system/common/locale.nix
2024-10-24 16:42:01 -05:00

25 lines
457 B
Nix

{ pkgs, ... }:
{
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales = [
"en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8"
];
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-gtk
];
};
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
source-han-sans
source-han-serif
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
];
}