nixos/pkgs/pkgsets/emacs/fcitx.nix
derped 8295a87aa8
emacs: Add fcitx, latex and web mode.
Lilim/emacs: Change enabled packages.
2020-01-26 18:06:39 +01:00

16 lines
283 B
Nix

{ 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)
'';
};
};
}