NixOS/system/keyboard.nix

32 lines
583 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}:
2024-06-12 09:54:11 +07:00
let
cfg = config.profile.keyboard;
in
lib.mkMerge [
# {
# i18n.inputMethod = {
# enabled = "fcitx5";
# fcitx5.waylandFrontend = true;
# };
# }
# {
# i18n.inputMethod = lib.mkIf cfg.language.japanese ({
# fcitx5.addons = with pkgs; [
# fcitx5-mozc
# fcitx5-gtk
# ];
# });
# }
# {
# environment.variables = lib.mkIf (config.i18n.inputMethod.enabled == "fcitx5") {
# # Integration with some tools and binaries like kitty.
# GLFW_IM_MODULE = "ibus";
# };
# }
2024-06-12 09:54:11 +07:00
]