From 988e4d9875ee5909fafffb6e823d68089abaded6 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 14 Feb 2024 22:50:54 +0100 Subject: [PATCH] move fcitx envvars to the correct file --- hosts/niks/configuration.nix | 4 ---- hosts/niks/fcitx5.nix | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index ac01a0fc..43bf9cd3 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -142,10 +142,6 @@ environment = { sessionVariables = { - GTK_IM_MODULE = "fcitx"; - QT_IM_MODULE = "fcitx"; - XMODIFIERS = "@im=fcitx"; - GOPATH = "\$HOME/.local/share/go"; MOZ_ENABLE_WAYLAND = "1"; diff --git a/hosts/niks/fcitx5.nix b/hosts/niks/fcitx5.nix index b80afa92..15ab5f63 100644 --- a/hosts/niks/fcitx5.nix +++ b/hosts/niks/fcitx5.nix @@ -10,4 +10,9 @@ libsForQt5.fcitx5-qt ]; }; + environment.sessionVariables = { + GTK_IM_MODULE = "fcitx"; + QT_IM_MODULE = "fcitx"; + XMODIFIERS = "@im=fcitx"; + }; }