feat(x1): xremap

This commit is contained in:
Harald Hoyer 2025-12-15 10:40:45 +01:00
parent d6c1d1d4d6
commit a1ff322926
4 changed files with 705 additions and 10 deletions

View file

@ -0,0 +1,23 @@
# In /etc/nixos/configuration.nix
{ ... }:
{
# Enable the xremap service
services.xremap.enable = true;
services.xremap.userName = "harald"; # Replace with your username
services.xremap.serviceMode = "user"; # Run as user service, not system-wide
services.xremap.withGnome = true;
# Define your remapping configuration using Nix's attribute set format
services.xremap.config = {
global_remaps = [
{
remap = {
# Map Alt+C (LeftAlt-C) to Ctrl+C (LeftControl-C)
LeftAlt-C = "COPY";
LeftAlt-V = "PASTE";
LeftAlt-X = "CUT";
};
}
];
};
}