From 3deb83c476873bc608ff3448b310e72bc392c0bd Mon Sep 17 00:00:00 2001 From: buffet Date: Mon, 3 Apr 2023 18:40:18 +0200 Subject: [PATCH] feat: setup fcitx5 --- programs/default.nix | 1 + programs/ime.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 programs/ime.nix diff --git a/programs/default.nix b/programs/default.nix index 162c7db..d7534a8 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -7,6 +7,7 @@ _: { ./foot.nix ./git.nix ./gpg.nix + ./ime.nix ./lsd.nix ./mako.nix ./newsboat.nix diff --git a/programs/ime.nix b/programs/ime.nix new file mode 100644 index 0000000..158f49e --- /dev/null +++ b/programs/ime.nix @@ -0,0 +1,12 @@ +{pkgs, ...}: { + home-manager.users.buffet = { + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ + fcitx5-configtool + fcitx5-gtk + fcitx5-mozc + ]; + }; + }; +}