vanadium: update fcitx5 configuration

This commit is contained in:
Primrose 2025-07-26 01:14:20 +02:00
parent ce21181099
commit 65e0b5e33c
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 17 additions and 21 deletions

View file

@ -11,6 +11,12 @@
];
};
# Note:
# fcitx5, when wrapped with nix, will keep pointing to the configuration in the nix store.
# In order to change the configuration, you need to:
# - kill the existing fcitx5 process because the configtool kinda talks to it (?)
# - unlink the configuration file linked by home-manager (or copy it) so fcitx5-configtool can write to it
# - use fcitx5-configtool from a nix shell so that it doesn't get stuck with the nix store configuration
xdg.configFile = lib.mkIf config.i18n.inputMethod.enable {
"fcitx5".source = "${./fcitx}";
};