From ea753db9c4a913f858767017dca2e10ca1ec5090 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 7 Jan 2024 15:40:53 +0100 Subject: [PATCH] Add japanese support writing & font support --- hosts/adalbert/default.nix | 1 + hosts/common/optional/desktop/japanese.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 hosts/common/optional/desktop/japanese.nix diff --git a/hosts/adalbert/default.nix b/hosts/adalbert/default.nix index 327b010..f473f30 100644 --- a/hosts/adalbert/default.nix +++ b/hosts/adalbert/default.nix @@ -35,6 +35,7 @@ ../common/optional/gaming/gamemode.nix ../common/optional/gaming/steam.nix ../common/optional/gaming/vr.nix + ../common/optional/desktop/japanese.nix ]; nixpkgs = { diff --git a/hosts/common/optional/desktop/japanese.nix b/hosts/common/optional/desktop/japanese.nix new file mode 100644 index 0000000..e10d8e7 --- /dev/null +++ b/hosts/common/optional/desktop/japanese.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ + fcitx5-mozc + fcitx5-gtk + ]; + }; + fonts.fonts = with pkgs; [ + noto-fonts-cjk-sans + ]; +}