Add fcitx5
This commit is contained in:
parent
29a95770e5
commit
e01d953656
1 changed files with 22 additions and 0 deletions
22
.config/nixos/profiles/fcitx.nix
Normal file
22
.config/nixos/profiles/fcitx.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
i18n = {
|
||||||
|
inputMethod = {
|
||||||
|
# Have to install fcitx5 through here so that the binary is patched to be able to see the addons.
|
||||||
|
# If also installed through system packages, the binary without addonds will take precedence.
|
||||||
|
enabled = "fcitx5";
|
||||||
|
fcitx5.addons = with pkgs; [
|
||||||
|
fcitx5-configtool
|
||||||
|
fcitx5-rime
|
||||||
|
fcitx5-chinese-addons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
source-han-sans
|
||||||
|
source-han-serif
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue