Update NixOS config.
This commit is contained in:
parent
262634382e
commit
bf41f4b6aa
1 changed files with 15 additions and 4 deletions
19
base.nix
19
base.nix
|
@ -49,11 +49,22 @@
|
|||
LC_TELEPHONE = "en_US.UTF-8";
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
i18n.inputMethod = {
|
||||
type = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [ fcitx5-chewing fcitx5-chinese-addons ];
|
||||
#from someone on fedi
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.waylandFrontend = true;
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-gtk # alternatively, kdePackages.fcitx5-qt
|
||||
fcitx5-chewing
|
||||
fcitx5-chinese-addons # table input method support
|
||||
fcitx5-nord # a color theme
|
||||
];
|
||||
};
|
||||
#old one didn't work
|
||||
# i18n.inputMethod = {
|
||||
# type = "fcitx5";
|
||||
# fcitx5.addons = with pkgs; [ fcitx5-chewing fcitx5-chinese-addons ];
|
||||
# };
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue