10.nixos-hardware/framework/12-inch/13th-gen-intel/default.nix
Daniel Schaefer f69f53ebb6 framework/12-inch: Add support for unl0kr
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-02-16 16:04:18 +00:00

23 lines
640 B
Nix

{ config, lib, ... }:
{
imports = [
../common
../../../common/cpu/intel
];
# If this module isn't built into the kernel, we need to make sure it loads
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
# If correctly loaded, dmesg should show
# input: gpio-keys as /devices/platform/INT33D3:00
boot.initrd.kernelModules = [
"pinctrl_tigerlake"
]
# Additional modules for touchscreen/touchpad in initrd (for unl0kr on-screen keyboard)
++ lib.optionals config.boot.initrd.unl0kr.enable [
"intel_lpss_pci"
"i2c_hid_acpi"
"i2c_hid"
"hid_multitouch"
"hid_generic"
];
}