From 570e7f1bf08a081160cda6cdd9beee68931ddd3c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 4 Dec 2025 11:07:44 +0100 Subject: [PATCH] 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 --- systems/x86_64-linux/sgx/hardware-configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/systems/x86_64-linux/sgx/hardware-configuration.nix b/systems/x86_64-linux/sgx/hardware-configuration.nix index 74eb10e..691a1f8 100644 --- a/systems/x86_64-linux/sgx/hardware-configuration.nix +++ b/systems/x86_64-linux/sgx/hardware-configuration.nix @@ -2,15 +2,16 @@ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { - pkgs, config, lib, - modulesPath, + inputs, ... }: { - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + imports = [ + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-11th-gen + ]; boot.initrd.availableKernelModules = [ "xhci_pci"