hosts/morphius: init new device
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
5
hosts/morphius/hardware/laptop/default.nix
Normal file
5
hosts/morphius/hardware/laptop/default.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./keyboard-fix.nix
|
||||
];
|
||||
}
|
21
hosts/morphius/hardware/laptop/keyboard-fix.nix
Normal file
21
hosts/morphius/hardware/laptop/keyboard-fix.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
services = {
|
||||
udev.extraHwdb = ''
|
||||
evdev:input:b0011v0001p0001eAB83*
|
||||
KEYBOARD_KEY_d5=sysrq
|
||||
KEYBOARD_KEY_d4=leftmeta
|
||||
KEYBOARD_KEY_95=brightnessdown
|
||||
KEYBOARD_KEY_91=brightnessup
|
||||
'';
|
||||
keyd = {
|
||||
enable = true;
|
||||
keyboards.default = {
|
||||
ids = ["0001:0001"];
|
||||
settings.main = {
|
||||
camera = "brightnessdown";
|
||||
prog1 = "brightnessup";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user