From c308ba5af51ee75999b985bed440e475b435c3e7 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 2 Feb 2022 21:26:10 +0100 Subject: [PATCH] Fcitx5 --- home-manager/modules/sway/default.nix | 2 +- modules/desktop/default.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/sway/default.nix b/home-manager/modules/sway/default.nix index 8f3704f..34a8c1c 100644 --- a/home-manager/modules/sway/default.nix +++ b/home-manager/modules/sway/default.nix @@ -230,7 +230,7 @@ in for_window [shell="xwayland"] title_format "%title [XWayland]" exec --no-startup-id ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator - + include /etc/sway/config.d/* ''; diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index ea6a3b0..ecf5a38 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -134,6 +134,11 @@ in }; }; + i18n.inputMethod = { + enabled = "fcitx5"; + fcitx5.addons = with pkgs; [ fcitx5-m17n fcitx5-gtk fcitx5-configtool ]; + }; + gtk = { enable = true; theme = { @@ -242,6 +247,7 @@ in SDL_VIDEODRIVER = "wayland"; SSH_AUTH_SOCK = ''''${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh''; AMD_VULKAN_ICD = "RADV"; + # NIXOS_OZONE_WL = "1"; }; environment.etc = {