2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2020-01-26 17:50:05 +01:00
|
|
|
with lib;
|
2023-09-11 20:23:04 +02:00
|
|
|
mkIf (elem "emacs::fcitx" config.machine.pkgs) {
|
|
|
|
programs.emacs.init.usePackage = {
|
|
|
|
fcitx = {
|
|
|
|
enable = true;
|
|
|
|
demand = true;
|
|
|
|
config = ''
|
|
|
|
;; (setq fcitx-use-dbus t)
|
|
|
|
(fcitx-default-setup)
|
|
|
|
'';
|
|
|
|
};
|
2020-01-26 17:50:05 +01:00
|
|
|
};
|
2023-09-11 20:23:04 +02:00
|
|
|
}
|