mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 19:54:48 +01:00
43a07cc8d9
Neither nixfmt nor alejandra support the "standard" way to syntax highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable solution.
44 lines
1.0 KiB
Nix
44 lines
1.0 KiB
Nix
{ pkgs, ... }: {
|
|
i18n.inputMethod.enabled = "fcitx5";
|
|
i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ];
|
|
|
|
home-manager.sharedModules = [
|
|
{
|
|
xdg.configFile = {
|
|
"mozc/ibus_config.textproto" = {
|
|
force = true;
|
|
source = ./ibus_config.textproto;
|
|
};
|
|
"fcitx5/config" = {
|
|
force = true;
|
|
source = ./config;
|
|
};
|
|
"fcitx5/profile" = {
|
|
force = true;
|
|
source = ./profile;
|
|
};
|
|
"fcitx5/conf/classicui.conf" = {
|
|
force = true;
|
|
source = ./classicui.conf;
|
|
};
|
|
"fcitx5/conf/clipboard.conf" = {
|
|
force = true;
|
|
source = ./clipboard.conf;
|
|
};
|
|
"fcitx5/conf/mozc.conf" = {
|
|
force = true;
|
|
source = ./mozc.conf;
|
|
};
|
|
"fcitx5/conf/notifications.conf" = {
|
|
force = true;
|
|
text = "HiddenNotifications=";
|
|
};
|
|
"fcitx5/conf/unicode.conf" = {
|
|
force = true;
|
|
text = "TriggerKey=";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|