mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: split base and system module
This commit is contained in:
parent
d50bbb3d12
commit
742a55e5a0
17 changed files with 34 additions and 24 deletions
17
modules/system/keyd.nix
Normal file
17
modules/system/keyd.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
_: {
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
keyboards.mouse = {
|
||||
ids = [
|
||||
"046d:c051:4ae65a29" # Work mouse
|
||||
"046d:407f:ee6ee407" # Home mouse
|
||||
];
|
||||
settings = {
|
||||
main = {
|
||||
# Bind mouse-back to meta if held
|
||||
mouse1 = "overload(meta, mouse1)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue