From 66938043d57e3811f2277635a7a618a9a02ba97b Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 15 Sep 2025 15:22:41 -0700 Subject: fcitx5: move config to home manager --- modules/nixos/hardware/keyboard/default.nix | 12 ------------ modules/nixos/suites/desktop/default.nix | 1 - 2 files changed, 13 deletions(-) (limited to 'modules/nixos') diff --git a/modules/nixos/hardware/keyboard/default.nix b/modules/nixos/hardware/keyboard/default.nix index 59ea803..11df0d9 100644 --- a/modules/nixos/hardware/keyboard/default.nix +++ b/modules/nixos/hardware/keyboard/default.nix @@ -5,7 +5,6 @@ with lib; with lib.${namespace}; let in { options.${namespace}.hardware.keyboard = with types; { enable = mkEnableOption "keyboard hardware tweaks"; - jp.enable = mkEnableOption "japanese ime support"; }; config = mkIf cfg.enable { @@ -37,16 +36,5 @@ in { }; }; }; - - i18n.inputMethod = mkIf cfg.jp.enable { - enable = true; - type = "fcitx5"; - fcitx5.addons = with pkgs; [ fcitx5-mozc ]; - }; - - environment.variables = mkIf cfg.jp.enable { - # Required for fcitx5 support in kitty - GLFW_IM_MODULE = "ibus"; - }; }; } diff --git a/modules/nixos/suites/desktop/default.nix b/modules/nixos/suites/desktop/default.nix index e8afcc2..918df36 100644 --- a/modules/nixos/suites/desktop/default.nix +++ b/modules/nixos/suites/desktop/default.nix @@ -11,7 +11,6 @@ in { cxl = { hardware = { audio.enable = true; - keyboard.jp.enable = true; rgb = { enable = true; headphones = true; -- cgit v1.2.3