diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-04 18:50:11 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:44 -0700 |
| commit | 10f11ec042ab468821274636d438f84781cb2408 (patch) | |
| tree | dde2244d5e9d76f7191e095a621bf23f9adcd9ab /roles/desktop/input.nix | |
| parent | e45aca9d0cbda0559fb3c6a8075e029faa9c58ac (diff) | |
migration: desktop role
Diffstat (limited to 'roles/desktop/input.nix')
| -rw-r--r-- | roles/desktop/input.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/roles/desktop/input.nix b/roles/desktop/input.nix deleted file mode 100644 index c0a722f..0000000 --- a/roles/desktop/input.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs, ... }: - -{ - services = { - libinput = { - touchpad.naturalScrolling = true; - }; - - keyd = { - keyboards."*".settings = { - main = { - # Swap alt and meta keys. - # I prefer (physical) alt as my WM modifier key because it - # is easier to reach. This can collide with some programs - # shortcuts if they inlcude alt. Swapping alt and meta fixes - # this by making my WM mod key (software) meta, freeing up alt. - - leftalt = "leftmeta"; - leftmeta = "leftalt"; - - rightalt = "rightmeta"; - rightmeta = "rightalt"; - }; - }; - }; - }; - - i18n.inputMethod = { - type = "fcitx5"; - fcitx5.addons = with pkgs; [ fcitx5-mozc ]; - }; - - environment.variables = { - # Required for fcitx5 support in kitty - GLFW_IM_MODULE = "ibus"; - }; -} |