add alias for disable builtin keyboard
This commit is contained in:
parent
84c3c4506a
commit
600dfdc81f
2 changed files with 53 additions and 20 deletions
|
|
@ -7,6 +7,7 @@
|
|||
../../../modules/desktop.nix
|
||||
../../../modules/wireguard.nix
|
||||
../../../modules/login-display.nix
|
||||
../../../modules/keyboard-toggle.nix
|
||||
];
|
||||
|
||||
# Bootloader - standard UEFI setup
|
||||
|
|
@ -230,26 +231,6 @@
|
|||
services.acpid.enable = true;
|
||||
services.upower.enable = true;
|
||||
|
||||
# Advanced key remapping with keyd
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
# Map Caps Lock to Left Control
|
||||
capslock = "leftcontrol";
|
||||
# Map Right Control to Caps Lock
|
||||
rightcontrol = "capslock";
|
||||
# Map Left Alt to Super (Windows key)
|
||||
leftalt = "leftmeta";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Apply XKB config to console (TTY) as well
|
||||
console.useXkbConfig = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue