diff options
Diffstat (limited to 'snowfall/modules/nixos')
| -rw-r--r-- | snowfall/modules/nixos/hardware/keyboard/default.nix | 6 | ||||
| -rw-r--r-- | snowfall/modules/nixos/suites/desktop/default.nix | 2 |
2 files changed, 4 insertions, 4 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"; }; diff --git a/snowfall/modules/nixos/suites/desktop/default.nix b/snowfall/modules/nixos/suites/desktop/default.nix index 1d6e0c2..246f38c 100644 --- a/snowfall/modules/nixos/suites/desktop/default.nix +++ b/snowfall/modules/nixos/suites/desktop/default.nix @@ -11,7 +11,7 @@ in { cxl = { hardware = { audio.enable = true; - keyboard.jp = true; + keyboard.jp.enable = true; }; apps = { |