summaryrefslogtreecommitdiff
path: root/hosts/laptop/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/laptop/configuration.nix')
-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";
}