hyprland and ime

This commit is contained in:
Kopatz
2024-09-15 15:42:04 +02:00
parent 714735cbe4
commit 2363ddbc12
3 changed files with 21 additions and 21 deletions

View File

@@ -1,18 +1,15 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.custom.graphical.ime;
in
{
options.custom.graphical.ime = {
enable = mkEnableOption "Enables ime";
};
let cfg = config.custom.graphical.ime;
in {
options.custom.graphical.ime = { enable = mkEnableOption "Enables ime"; };
config = mkIf cfg.enable {
i18n.inputMethod.type = "fcitx5"; #deprecated
## new
#i18n.enable = true;
#i18n.inputMethod.type = "fcitx5";
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.waylandFrontend = true;
fcitx5.addons = [ pkgs.fcitx5-mozc ];
};
};
}