summaryrefslogtreecommitdiff
path: root/hosts/local/fw11/keyboard.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-01-04 04:08:05 +0700
committerpolwex <polwex@sortug.com>2025-01-04 04:08:05 +0700
commit886532670b2d3f91f615a63f6b82f2512a641acc (patch)
tree8803d51ed2a341689202b0d3249ce5316ef6e4c0 /hosts/local/fw11/keyboard.nix
parent8ba8980c12a1fb05970dead6228ddc3129ff5868 (diff)
m
Diffstat (limited to 'hosts/local/fw11/keyboard.nix')
-rw-r--r--hosts/local/fw11/keyboard.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/hosts/local/fw11/keyboard.nix b/hosts/local/fw11/keyboard.nix
index ac39694..b9241e1 100644
--- a/hosts/local/fw11/keyboard.nix
+++ b/hosts/local/fw11/keyboard.nix
@@ -10,18 +10,19 @@
'';
# config file keeps getting rewritten but I don't know by who
- # i18n.inputMethod = {
- # enabled = "fcitx5";
- # fcitx5.addons = with pkgs; [
- # fcitx5-mozc
- # # mozc-ut is better, wat do
- # fcitx5-gtk
- # libsForQt5.fcitx5-qt
- # fcitx5-lua
- # fcitx5-configtool
- # fcitx5-rime
- # ];
- # };
+ i18n.inputMethod = {
+ enable = true;
+ type = "fcitx5";
+ fcitx5.addons = with pkgs; [
+ fcitx5-mozc
+ # mozc-ut is better, wat do
+ fcitx5-gtk
+ libsForQt5.fcitx5-qt
+ fcitx5-lua
+ fcitx5-configtool
+ fcitx5-rime
+ ];
+ };
environment.variables = {
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
@@ -30,9 +31,8 @@
};
#kmonad
- services.kmonad = lib.mkIf (pkgs.system == "x86_64-linux") {
+ services.kmonad = {
enable = true;
-
keyboards.internal = {
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
config = builtins.readFile ./framework.kbd;