Relocate fcitx5 to system config
This commit is contained in:
@ -105,20 +105,5 @@ rec {
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# quartus-prime-lite # Intel FPGA design software
|
# quartus-prime-lite # Intel FPGA design software
|
||||||
];
|
];
|
||||||
|
|
||||||
# NOTE: This has been relocated here from the default config, because it forces en-US keyboard layout
|
|
||||||
# The laptop needs de-DE...
|
|
||||||
# Chinese Input
|
|
||||||
i18n.inputMethod.enabled = "fcitx5";
|
|
||||||
i18n.inputMethod.fcitx5 = {
|
|
||||||
waylandFrontend = true;
|
|
||||||
|
|
||||||
addons = with pkgs; [
|
|
||||||
fcitx5-gtk
|
|
||||||
libsForQt5.fcitx5-qt
|
|
||||||
fcitx5-chinese-addons
|
|
||||||
fcitx5-configtool # TODO: Remove this and set config through HomeManager
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -94,4 +94,19 @@
|
|||||||
videoDrivers = ["nvidia"]; # NVIDIA
|
videoDrivers = ["nvidia"]; # NVIDIA
|
||||||
# videoDrivers = ["amdgpu"];
|
# videoDrivers = ["amdgpu"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# NOTE: This has been relocated here from the default config, because it forces en-US keyboard layout
|
||||||
|
# The laptop needs de-DE...
|
||||||
|
# Chinese Input
|
||||||
|
i18n.inputMethod.enabled = "fcitx5";
|
||||||
|
i18n.inputMethod.fcitx5 = {
|
||||||
|
waylandFrontend = true;
|
||||||
|
|
||||||
|
addons = with pkgs; [
|
||||||
|
fcitx5-gtk
|
||||||
|
libsForQt5.fcitx5-qt
|
||||||
|
fcitx5-chinese-addons
|
||||||
|
fcitx5-configtool # TODO: Remove this and set config through HomeManager
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user