diff options
| author | Christian <[email protected]> | 2026-01-29 17:45:36 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-01-29 17:45:36 -0600 |
| commit | fd70ae12af1c769be9cd59c8c9bb562a77280765 (patch) | |
| tree | 6ea20d033eec7279d201f402a99fd7e3d80afc16 /hosts/laptop/configuration.nix | |
| parent | 738eb07e14463e53857d8a54409d332d708e8970 (diff) | |
Remap capslock to ctrl on laptop
Diffstat (limited to 'hosts/laptop/configuration.nix')
| -rw-r--r-- | hosts/laptop/configuration.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 501ca1d..edc7306 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -31,5 +31,13 @@ battery = "echo $(($(cat /sys/class/power_supply/BAT0/charge_now)*100/$(cat /sys/class/power_supply/BAT0/charge_full)))%"; }; + services.keyd = { + enable = true; + keyboards.default = { + ids = [ "*" ]; + settings.main.capslock = "overload(control, esc)"; + }; + }; + system.stateVersion = "25.11"; } |
