New input method syntax

This commit is contained in:
Nox Sluijtman 2024-12-16 16:00:17 +01:00
parent c4551b3839
commit d2429fa721
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M
2 changed files with 10 additions and 11 deletions

View file

@ -6,15 +6,14 @@ in {
enable = mkEnableOption "Enables fcitx5 input method engine and mozc en anthy methods";
};
config = mkIf cfg.enable {
i18n = {
inputMethod = {
enabled = "fcitx5";
fcitx5 = {
addons = with pkgs; [
fcitx5-mozc
fcitx5-anthy
];
};
i18n.inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
settings.addons = with pkgs; [
fcitx5-mozc
fcitx5-anthy
];
};
};
};

View file

@ -11,9 +11,9 @@ in {
};
config = {
hardware = {
opengl = {
graphics = {
enable = true;
driSupport32Bit = true;
enable32Bit = true;
};
nvidia = mkIf cfg.nvidia.enable {
package = config.boot.kernelPackages.nvidiaPackages.stable;