add plasma-manager: mouse accel off, fcitx5 input method, overrideConfig

This commit is contained in:
2026-05-30 16:05:46 +08:00
parent c004cc5e66
commit 0a51914512
4 changed files with 54 additions and 2 deletions
+18
View File
@@ -77,6 +77,24 @@
};
};
# Plasma 桌面环境接管
programs.plasma = {
enable = true;
overrideConfig = true; # 每次重建清理旧的迭代设置
# 关闭鼠标加速度,灵敏度保持默认
configFile."kcminputrc" = {
"Mouse" = {
"XLbInptPointerAccel" = 0.0; # 关闭鼠标加速度
"XLbInptAccelProfileFlat" = true; # 平坦加速曲线
};
};
# 虚拟键盘 / 输入法设置为 fcitx5
configFile."kwinrc"."Wayland"."InputMethod" =
"${pkgs.fcitx5}/share/applications/org.fcitx.Fcitx5.desktop";
};
# 这个版本号不要改!它不是软件版本,而是系统状态标识
home.stateVersion = "25.11";