-
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Lenovo ThinkPad P16s Intel Gen 2 #1413
base: master
Are you sure you want to change the base?
Conversation
bca0b9f
to
3158e7c
Compare
@@ -0,0 +1,8 @@ | |||
{modulesPath, lib, ...}: { | |||
imports = [ | |||
(modulesPath + "/installer/scan/not-detected.nix") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixos-hardware depends on nixos-generate-config. We try to not replace parts that can be auto-generated.
(modulesPath + "/installer/scan/not-detected.nix") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, weird. I assumed that if using this repo, I wouldn't need to depend on nixos-generate-config.
OK let me fix that.
boot.initrd.availableKernelModules = [ | ||
"nvme" | ||
"sd_mod" | ||
"thunderbolt" | ||
"usb_storage" | ||
"usbhid" | ||
"xhci_pci" | ||
]; | ||
boot.kernelModules = ["kvm-intel"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above:
boot.initrd.availableKernelModules = [ | |
"nvme" | |
"sd_mod" | |
"thunderbolt" | |
"usb_storage" | |
"usbhid" | |
"xhci_pci" | |
]; | |
boot.kernelModules = ["kvm-intel"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, nixos-generate-config only gets this:
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ];
Should I just remove those?
@moduon MT-9339
Description of changes
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input