From 9884d07e6574ef81e1e7da94f90ee08bee036dd3 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 22 Sep 2024 15:12:25 -0700 Subject: core: move variables and virtualisation to desktop --- modules/desktop/variables/fcitx.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/desktop/variables/fcitx.nix (limited to 'modules/desktop/variables/fcitx.nix') diff --git a/modules/desktop/variables/fcitx.nix b/modules/desktop/variables/fcitx.nix new file mode 100644 index 0000000..0ac550f --- /dev/null +++ b/modules/desktop/variables/fcitx.nix @@ -0,0 +1,13 @@ +{ + environment.variables = { + # https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland + QT_IM_MODULE = "fcitx"; + XMODIFIERS = "@im=fcitx"; + # GTK_IM_MODULE = "wayland"; + # GTK_IM_MODULE = "fcitx"; + SDL_IM_MODULE = "fcitx"; + GLFW_IM_MODULE = "ibus"; + INPUT_METHOD = "fcitx"; + CUDA_CACHE_PATH = "$XDG_CACHE_HOME/nv"; + }; +} -- cgit v1.2.3