feat(hardware): move hardware inputs to dedicated module

This commit is contained in:
2025-11-07 02:26:13 +01:00
parent fc2407940c
commit 1aef3db69d
8 changed files with 32 additions and 14 deletions

View File

@@ -34,9 +34,11 @@
};
hardware = {
bluetooth.enable = true;
corne.allowHidAccess = true;
ibmTrackpoint.disable = true;
opentablet.enable = true;
input = {
corne.allowHidAccess = true;
ibmTrackpoint.disable = true;
opentablet.enable = true;
};
sound.enable = true;
};
misc.keymap = "fr-bepo";

View File

@@ -38,8 +38,10 @@
hardware = {
amdgpu.enable = true;
bluetooth.enable = true;
corne.allowHidAccess = true;
opentablet.enable = true;
input = {
corne.allowHidAccess = true;
opentablet.enable = true;
};
sound = {
enable = true;
jack = true;
@@ -90,6 +92,11 @@
mode = "0440";
};
services.udev.extraHwdb = ''
mouse:usb:047d:80a6:*
LIBINPUT_MIDDLE_EMULATION_ENABLED=1
'';
security = {
polkit.enable = true;
rtkit.enable = true;