nixos/pkgs/pkgsets/emacs/fcitx.nix

17 lines
283 B
Nix
Raw Permalink Normal View History

{ config, lib, ... }:
with lib;
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)
'';
};
};
}