Skip to content

Commit

Permalink
New sku for uae X1-GEN11
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGillion <[email protected]>
  • Loading branch information
brianmcgillion committed Oct 8, 2024
1 parent 4a5b1ea commit 4eb67d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions modules/reference/hardware/lenovo-x1/definitions/x1-gen11.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"ELAN067C:00 04F3:31F9 Mouse"
"SYNA8016:00 06CB:CEB3 Mouse"
"ELAN067B:00 04F3:31F8 Mouse"
"SYNA8017:00 06CB:CEB2 Mouse"
]
"TPPS/2 Elan TrackPoint"
];
Expand All @@ -49,6 +50,8 @@
"ELAN067C:00 04F3:31F9 Touchpad"
"SYNA8016:00 06CB:CEB3 Touchpad"
"ELAN067B:00 04F3:31F8 Touchpad"
"SYNA8017:00 06CB:CEB2 Touchpad"
"ELAN901C:00 04F3:2C4E Touchpad"
]
];
evdev = [ "/dev/touchpad0" ];
Expand Down
4 changes: 2 additions & 2 deletions packages/hardware-scan/hardware-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# #! nix-shell -i bash -p pciutils dmidecode usbutils alejandra

usage() {
cat <<EOF
cat <<EOF
A simple shell script (bash) to detect hardware parameters and write the results to a nix configuration file.
This file can be used to build a Ghaf-based platform.
Expand Down Expand Up @@ -628,4 +628,4 @@ if ! $verbose; then
echo "> Searching for more hardware info..."
ext_output
exit 0
fi
fi
2 changes: 2 additions & 0 deletions targets/laptop-hw-scan/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ let
isoImage.isoBaseName = "ghaf";
isoImage.squashfsCompression = "zstd -Xcompression-level 3";
environment.systemPackages = [ self.packages.x86_64-linux.hardware-scan ];
networking.networkmanager.enable = true;
networking.wireless.enable = false;
boot.kernelParams = [
# TODO AMD support
"intel_iommu=on,sm_on"
Expand Down

0 comments on commit 4eb67d5

Please sign in to comment.