From d9747c64b038943253eaafdc59a49d5face46dab Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 20 Sep 2024 05:36:20 -0700 Subject: modules: server and core modules --- modules/core/software/input.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 modules/core/software/input.nix (limited to 'modules/core/software/input.nix') diff --git a/modules/core/software/input.nix b/modules/core/software/input.nix new file mode 100644 index 0000000..2d9f651 --- /dev/null +++ b/modules/core/software/input.nix @@ -0,0 +1,25 @@ +{ pkgs, secrets, ... }: +{ + i18n = { + defaultLocale = secrets.i18n.locale; + + inputMethod = { + enable = true; + type = "fcitx5"; + + fcitx5 = { + waylandFrontend = true; + + addons = with pkgs; [ + fcitx5-configtool + fcitx5-gtk + fcitx5-hangul + fcitx5-mozc + fcitx5-rime + rime-data + catppuccin-fcitx5 + ]; + }; + }; + }; +} -- cgit v1.2.3