# Declared Fcitx5 settings aren't being applied \[home-manager\]

**URL:** https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891
**Category:** Help
**Created:** [November 2, 2026, 3:55pm UTC](https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891 "2026-11-02T15:55:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mustlane](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mustlane/32/35193_2.png) [@Mustlane](https://discourse.nixos.org/u/Mustlane)
#### Post date: [November 2, 2026, 3:55pm UTC](https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891/1 "2026-11-02T15:55:13Z")

</div>

Here’s the snippet that I use:

```auto
  i18n = {
    inputMethod = {
      enable = true;
      type = "fcitx5";
      fcitx5 = {
        ignoreUserConfig = true;
        waylandFrontend = true;
        addons = with pkgs; [
          fcitx5-mozc
        ];
        settings.inputMethod = {
          "Groups/0" = {
            Name = "Default";
            "Default Layout" = "us";
            DefaultIM = "mozc";
          };
          "Groups/0/Items/0" = {
            Name = "keyboard-us";
            Layout = "";
          };
          "Groups/0/Items/1" = {
            Name = "mozc";
            Layout = "";
          };
          "GroupOrder" = {
            "0" = "Default";
          };
        };
        settings = {
          globalOptions = {
            Behavior = {
              ActiveByDefault = true;
            };
          };
        };
        sessionVariables = {
          GLFW_IM_MODULE = "ibus";
          SDL_IM_MODULE = "fcitx";
          XMODIFIERS="@im=fcitx";
          QT_IM_MODULE="fcitx";
          GTK_IM_MODULE="fcitx";
        };
      };
    };
  };

```

Also, if it matters, I have this chunk added to the `wayland.windowManager.sway.extraConfig`:

```conf
input type:keyboard {
xkb_layout us,ru
xkb_options grp:alt_shift_toggle
}

```

From what I understand, my problem is quite similar to [this one](https://discourse.nixos.org/t/fcitx5-mozc-japanese-declarative-profile-configuration-not-working/41504)  
The problem is that my declared Fcitx5 settings are being ignored.  
What I get are the default settings.  
And even if I set them manually via `fcitx-configtool`, they still get reset each time that I turn off the computer.

P.S. Would like to add that I’ve been using the aforementioned code for at least half a year, and it only worked from time to time, which has been driving me crazy.  
And what I mean by “time to time” is that sometimes it worked on launch and sometimes not, but recently it completely stopped working.

Help is _greatly_ appreciated.  
Please, I beg of you, help me `:-)`

---

<div class="post-metadata">

### Author: ![Mustlane](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mustlane/32/35193_2.png) [@Mustlane](https://discourse.nixos.org/u/Mustlane)
#### Post date: [November 2, 2026, 4:03pm UTC](https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891/2 "2026-11-02T16:03:42Z")

</div>

Here’s extra information:

```tty
OS: NixOS 26.11 (Zokor) x86_64
Host: B450M DS3H
Kernel: Linux 7.3.0
Uptime: 1 hour, 32 mins
Packages: 13 (flatpak), 2017 (nix-system), 1762 (nix-user)
Shell: zsh 5.9.2
Display (S27E390): 1920x1080 in 27", 60 Hz [External]
Window Manager: Sway 1.12 (Wayland)
Icons: breeze [GTK2/3/4]
Font: Noto Sans (10pt) [GTK2/3/4]
Cursor: macOS (24px)
Terminal: alacritty 0.17.0
Terminal Font: monospace (11.25pt, Regular)
CPU: AMD Ryzen 5 2600 (12) @ 3.90 GHz
GPU: NVIDIA GeForce GTX 1650 [Discrete]
Memory: 4.45 GiB / 15.56 GiB (29%)
Swap: 161.14 MiB / 12.12 GiB (1%)
Disk (/): 1010.79 GiB / 1.86 TiB (53%) - btrfs
Disk (/home/mustlane/data): 7.89 TiB / 10.83 TiB (73%) - ext4
Local IP (enp5s0): 192.168.0.167/24
Locale: en_US.UTF-8

```

---

<div class="post-metadata">

### Author: ![yueyinqiu](https://discourse.nixos.org/user_avatar/discourse.nixos.org/yueyinqiu/32/38436_2.png) [@yueyinqiu](https://discourse.nixos.org/u/yueyinqiu)
#### Post date: [November 2, 2026, 5:56pm UTC](https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891/3 "2026-11-02T17:56:33Z")

</div>

try remove the ignoreUserConfig?

---

<div class="post-metadata">

### Author: ![Mustlane](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mustlane/32/35193_2.png) [@Mustlane](https://discourse.nixos.org/u/Mustlane)
#### Post date: [November 2, 2026, 8:13pm UTC](https://discourse.nixos.org/t/declared-fcitx5-settings-arent-being-applied-home-manager/80891/4 "2026-11-02T20:13:36Z")

</div>

I thought it meant “ignore the settings declared outside of the nix config” 😭 😭 😭  
Yes, you are right. Thank you!
