From fd70ae12af1c769be9cd59c8c9bb562a77280765 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 29 Jan 2026 17:45:36 -0600 Subject: Remap capslock to ctrl on laptop --- hosts/laptop/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hosts') 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"; } -- cgit v1.2.3