add(nixos): input method
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
];
|
];
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"hyprpm reload -n"
|
"hyprpm reload -n"
|
||||||
|
"fcitx5 -d --replace"
|
||||||
"[workspace special:preload silent] uwsm app -- firefox"
|
"[workspace special:preload silent] uwsm app -- firefox"
|
||||||
"[workspace special:preload silent] uwsm app -- firefox -P YouTube"
|
"[workspace special:preload silent] uwsm app -- firefox -P YouTube"
|
||||||
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
|
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
./security.nix
|
./security.nix
|
||||||
./variables.nix
|
./variables.nix
|
||||||
./kernel.nix
|
./kernel.nix
|
||||||
|
./input-method.nix
|
||||||
];
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# FIXME: must be on their own app
|
# FIXME: must be on their own app
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
fcitx5 = {
|
||||||
|
waylandFrontend = true;
|
||||||
|
addons = with pkgs; [
|
||||||
|
fcitx5-mozc
|
||||||
|
fcitx5-gtk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user