Xremap: Difference between revisions
m →Remapping the Copilot key: Corrected code that doesn't work anymore and added more instructions |
m →Remapping the Copilot key: fix indentation |
||
| Line 24: | Line 24: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
services.xremap = { | services.xremap = { | ||
enable = true; | |||
package = pkgs.xremap; # Use the official package to skip building xremap from source | |||
userName = "username"; # The username of your user | |||
yamlConfig = '' | |||
experimental_map: | |||
- chords: | |||
- keys: [Super_L, Shift_L, F23] | |||
actions: Ctrl_R | |||
timeout: 30 | |||
''; | |||
}; | }; | ||
</nowiki>}} | </nowiki>}} | ||