NixOS/system/keyboard.nix
Tigor Hutasuhut df38983ef5 nixos: update to 24.11
Notes:

- Hyprland now uses the Nixpkgs version to minimize building.
- Java is broken on build, disabled all java apps for now.
2024-11-24 11:02:56 +07:00

32 lines
583 B
Nix

{
config,
lib,
pkgs,
...
}:
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";
# };
# }
]