feat: Switch to ibus

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-20 14:38:52 +01:00
parent b1b6febd37
commit f62dd8efb2
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 13 additions and 1 deletions

View file

@ -61,4 +61,14 @@ in
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix { desktop = true; inherit args; };
i18n.inputMethod = {
enabled = "ibus";
ibus.engines = with pkgs.ibus-engines; [
mozc
table
table-others
uniemoji
];
};
}

View file

@ -29,7 +29,9 @@ desktop: { pkgs, ... }: {
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export GTK_IM_MODULE=xim # fuck you GTK for not reading my ~/.XCompose file :(
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
'';
plugins = [
{