10.nixos-hardware/framework/13-inch/intel-core-ultra-series3/default.nix
Daniel Schaefer 132bbca15c framework: ultra3: Allow unl0kr in initrd
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-04-22 06:29:32 +08:00

30 lines
593 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [
../common
../common/intel.nix
];
# Everything is updateable through fwupd
services.fwupd.enable = true;
# Absolute minimum
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.17") (
lib.mkDefault pkgs.linuxPackages_latest
);
# Additional modules for touchscreen/touchpad in initrd (for unl0kr on-screen keyboard)
boot.initrd.kernelModules = lib.optionals config.boot.initrd.unl0kr.enable [
"intel_lpss_pci"
"i2c_hid_acpi"
"i2c_hid"
"hid_multitouch"
"hid_generic"
];
}