diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 15:42:06 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:50 -0700 |
| commit | 6f6b6b59e64ee94be095e856e1e6943bbf574349 (patch) | |
| tree | 2e228d8cdc48273d12a238fe34c3e3124da754c0 /snowfall/modules/nixos/hardware/keyboard/default.nix | |
| parent | 89911792efc07ce5dd52f3a9f5b2eb2046fd06a6 (diff) | |
migration: fcitx5 theme + fix
Diffstat (limited to 'snowfall/modules/nixos/hardware/keyboard/default.nix')
| -rw-r--r-- | snowfall/modules/nixos/hardware/keyboard/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/snowfall/modules/nixos/hardware/keyboard/default.nix b/snowfall/modules/nixos/hardware/keyboard/default.nix index a8c478d..0ea2aa6 100644 --- a/snowfall/modules/nixos/hardware/keyboard/default.nix +++ b/snowfall/modules/nixos/hardware/keyboard/default.nix @@ -5,7 +5,7 @@ with lib; with lib.${namespace}; let in { options.${namespace}.hardware.keyboard = with types; { enable = mkEnableOption "keyboard hardware tweaks"; - jp = mkEnableOption "japanese ime support"; + jp.enable = mkEnableOption "japanese ime support"; }; config = mkIf cfg.enable { @@ -29,13 +29,13 @@ in { }; }; - i18n.inputMethod = mkIf cfg.jp { + i18n.inputMethod = mkIf cfg.jp.enable { enable = true; type = "fcitx5"; fcitx5.addons = with pkgs; [ fcitx5-mozc ]; }; - environment.variables = mkIf cfg.jp { + environment.variables = mkIf cfg.jp.enable { # Required for fcitx5 support in kitty GLFW_IM_MODULE = "ibus"; }; |