Skip to content
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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

janwinkler1
Copy link

@janwinkler1 janwinkler1 commented Oct 25, 2024

Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

@Mic92 Mic92 marked this pull request as draft November 7, 2024 09:59
@Mic92
Copy link
Member

Mic92 commented Nov 7, 2024

Please undraft if you are done with it.

@janwinkler1
Copy link
Author

janwinkler1 commented Nov 7, 2024

ty for your review.

Please undraft if you are done with it.

will do!

@janwinkler1 janwinkler1 force-pushed the lenovo-loq-15aph8 branch 2 times, most recently from 3ded672 to 829cfb2 Compare November 8, 2024 08:42
@janwinkler1 janwinkler1 marked this pull request as ready for review November 8, 2024 09:05
README.md Outdated Show resolved Hide resolved
hardware.nvidia.modesetting.enable = lib.mkDefault true;
services.thermald.enable = lib.mkDefault true;

# These will merge with user settings, so no mkDefault needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it merge with user settings? As far as I can see this requires 'lib.mkForce', no?


# Power management - using mkDefault as these can be overridden
hardware.nvidia.powerManagement.enable = lib.mkDefault true;
hardware.nvidia.modesetting.enable = lib.mkDefault true;
Copy link

@LucasFA LucasFA Nov 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC the nvidia.modesetting line is implied by the call to gpu/nvidia/ada-lovelace, as it calls gpu/nvidia, containing this same line.
(Notably the mentioned PR there is already merged)

@Mic92 Mic92 marked this pull request as draft December 1, 2024 15:20

# Power management - using mkDefault as these can be overridden
hardware.nvidia.powerManagement.enable = lib.mkDefault true;
hardware.nvidia.modesetting.enable = lib.mkDefault true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
hardware.nvidia.modesetting.enable = lib.mkDefault true;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants