add keyd service
This commit is contained in:
parent
bf18143773
commit
c952146305
2 changed files with 21 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{lib, ...}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./programs.nix
|
||||
./keybinds.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
|
|
|||
19
groups/cryos/keybinds.nix
Normal file
19
groups/cryos/keybinds.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{...}: {
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
ids = ["*"];
|
||||
settings = {
|
||||
main = {
|
||||
capslock = "meta";
|
||||
|
||||
# NOTE: unsure whether or not i like oneshot...
|
||||
# shift = "oneshot(shift)";
|
||||
# control = "oneshot(control)";
|
||||
# leftalt = "oneshot(alt)";
|
||||
# rightalt = "oneshot(rightalt)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue