{_pkgs, ...}: { services.logind.settings.Login = { # don’t shutdown when power button is short-pressed HandlePowerKey = "ignore"; }; # config file keeps getting rewritten but I don't know by who # 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 = { QT_IM_MODULE = "fcitx"; XMODIFIERS = "@im=fcitx"; FCITX_SOCKET = "default"; }; #kmonad services.kmonad = { enable = true; keyboards = { myKmonadOutput = { device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd"; config = builtins.readFile ../keyboards/thinkpad-numpad.kbd; }; usbThinkpad = { # device = "/dev/input/by-id/usb-Lenovo_ThinkPad_Compact_USB_Keyboard_with_TrackPoint-event-kbd"; device = "/dev/input/by-id/usb-Lenovo_TrackPoint_Keyboard_II-event-kbd"; config = builtins.readFile ../keyboards/thinkpad-usb.kbd; }; }; }; }