summaryrefslogtreecommitdiff
path: root/keyd.nix
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
committerJasper Ras <jaspert.ras@gmail.com>2024-10-23 08:50:57 +0200
commitd9511a642b80c16db6508bc1f4b51f229c257b3a (patch)
treea9cdf25f7e0f74abc484cb45fce25ea86bf0853a /keyd.nix
Initial commit
Diffstat (limited to 'keyd.nix')
-rw-r--r--keyd.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyd.nix b/keyd.nix
new file mode 100644
index 0000000..6b4e79d
--- /dev/null
+++ b/keyd.nix
@@ -0,0 +1,12 @@
+{ ... }:
+{
+ services.keyd = {
+ enable = true;
+ keyboards = {
+ default = {
+ ids = [ "*" ];
+ settings.main.capslock = "overload(meta, esc)";
+ };
+ };
+ };
+}