feat(fcitx5): configure fcitx5
This commit is contained in:
24
modules/home/users/crumb/fcitx5.nix
Normal file
24
modules/home/users/crumb/fcitx5.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.users.crumb.fcitx5;
|
||||
in {
|
||||
options.sydnix.users.crumb.fcitx5 = {
|
||||
enable = lib.mkEnableOption "fcitx5 input method";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
settings.addons."quickphrase".sections = {
|
||||
TriggerKey = {
|
||||
"0" = "Super+grave";
|
||||
"1" = "Super+semicolon";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user