-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
Add hardware support for Lenovo LOQ 15aph8 #1206
base: master
Are you sure you want to change the base?
Conversation
f014c36
to
ddeb41e
Compare
services.thermald.enable = lib.mkDefault true; | ||
|
||
# These will merge with user settings, so no mkDefault needed | ||
boot.kernelModules = [ "kvm-amd" ]; |
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-generate-config already does this:
boot.kernelModules = [ "kvm-amd" ]; |
|
||
# These will merge with user settings, so no mkDefault needed | ||
boot.kernelModules = [ "kvm-amd" ]; | ||
boot.initrd.kernelModules = [ "amdgpu" ]; |
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.
boot.initrd.kernelModules = [ "amdgpu" ]; | |
hardware.amdgpu.initrd.enable = true; |
boot.initrd.kernelModules = [ "amdgpu" ]; | ||
|
||
# Essential kernel parameters for AMD CPU | ||
boot.kernelParams = [ "amd_pstate=active" ]; |
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.
This can be replaced by an import:
../../../common/cpu/amd/pstate.nix
Things done
nixos-hardware
andimporting it via
<nixos-hardware>
or Flake input