feat(nix): update SGX hardware configuration for x1 11th gen

- Replaced `not-detected.nix` import with `lenovo-thinkpad-x1-11th-gen` module from `nixos-hardware`
- Improved hardware compatibility for the 11th generation Lenovo ThinkPad X1
This commit is contained in:
Harald Hoyer 2025-12-04 11:07:44 +01:00
parent 2787e11a3f
commit 570e7f1bf0

View file

@ -2,15 +2,16 @@
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ {
pkgs,
config, config,
lib, lib,
modulesPath, inputs,
... ...
}: }:
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-11th-gen
];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"