keyd properly setup now

This commit is contained in:
Patrick Menking 2024-09-17 20:40:25 -04:00
parent 298e59707e
commit 21f6b9f7ae
3 changed files with 23 additions and 50 deletions

View file

@ -55,31 +55,31 @@
# Configure pulseaudio
hardware.pulseaudio.enable = lib.mkDefault true;
services.pipewire.enable = false;
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
capslock = "layer(l2)";
};
l2 = {
w = "up";
a = "left";
s = "down";
d = "right";
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
main = {
capslock = "layer(l2)";
};
l2 = {
w = "up";
a = "left";
s = "down";
d = "right";
b = "C-b";
b = "C-b";
space = "playpause";
"." = "nextsong";
"," = "prevsong";
space = "playpause";
"." = "nextsong";
"," = "prevsong";
escape = "~";
home = "end";
};
};
};
}:
escape = "~";
home = "end";
};
};
};
}:
};
}