summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-01-29 17:45:36 -0600
committerChristian <[email protected]>2026-01-29 17:45:36 -0600
commitfd70ae12af1c769be9cd59c8c9bb562a77280765 (patch)
tree6ea20d033eec7279d201f402a99fd7e3d80afc16 /hosts
parent738eb07e14463e53857d8a54409d332d708e8970 (diff)
Remap capslock to ctrl on laptop
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/configuration.nix8
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";
}