my-nix/faq-guide/mouse-alternative-fix.md

14 lines
414 B
Markdown
Raw Normal View History

2023-06-15 05:40:56 -05:00
# I have a broken key on my mouse, what options do i have?
A few ideas comes to mind, one would be making a configuration using xmodmap
and telling nix to put it in /home/<username>/.config/.xmodmap, so that it fixes permanently
```nix
home.file.".config/.xmodmap".source = """
""";
```
# Permanent fix (useful if you only use one mouse for now)
# Toggleable fix (useful if you get a new mouse temporarily)