diff options
| author | Fuwn <[email protected]> | 2024-09-17 01:55:10 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-17 01:55:10 -0700 |
| commit | df2e68dc0a8fa6a4d778513c6d67f2698cb04104 (patch) | |
| tree | 93e6e9010db7c50ec409e68ca658b3b0e765f083 /modules/variables/fcitx.nix | |
| parent | users: initial hashed password (diff) | |
| download | nixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.tar.xz nixos-config-df2e68dc0a8fa6a4d778513c6d67f2698cb04104.zip | |
modules: move variables
Diffstat (limited to 'modules/variables/fcitx.nix')
| -rw-r--r-- | modules/variables/fcitx.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/variables/fcitx.nix b/modules/variables/fcitx.nix new file mode 100644 index 0000000..0ac550f --- /dev/null +++ b/modules/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"; + }; +} |