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 xps 13 (9343) #174

Merged
merged 1 commit into from Jul 6, 2020
Merged

add xps 13 (9343) #174

merged 1 commit into from Jul 6, 2020

Conversation

bbigras
Copy link
Contributor

@bbigras bbigras commented Jun 21, 2020

I have no idea if throttled and thermald are needed since common/pc/laptop has tlp. I copied them from another profile.

Also I wonder if boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; should be in the profile since hardware-configuration.nix already has it. I wonder if it could help people figure out that they need to make a custom iso with that driver to be able to install with the wifi. Maybe it could be noted in a README.

With kernel 4.6.5 and tlp, the idle power usage can reach ~2.3 W with the kernel parameter pcie_aspm=force enabled.

https://wiki.archlinux.org/index.php/Dell_XPS_13_(9343)#Powersaving
I also wonder if this should be included or only noted in a README. If included I'm not sure how the user could disable it.

@Mic92 Mic92 requested a review from lukateras June 21, 2020 19:28
@bbigras
Copy link
Contributor Author

bbigras commented Jun 29, 2020

friendly ping @Mic92 @yegortimoshenko

dell/xps/13-9343/default.nix Outdated Show resolved Hide resolved
services.throttled.enable = lib.mkDefault true;

# This will save you money and possibly your life!
services.thermald.enable = true;
Copy link
Member

@Mic92 Mic92 Jun 29, 2020

Choose a reason for hiding this comment

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

This seems like a good default for laptops in general. @yegortimoshenko should we enable it in the profile?

@bbigras
Copy link
Contributor Author

bbigras commented Jul 1, 2020

Should I use lib.mkDefault with services.thermald.enable?

@Mic92
Copy link
Member

Mic92 commented Jul 5, 2020

Should I use lib.mkDefault with services.thermald.enable?

Yes.

@bbigras
Copy link
Contributor Author

bbigras commented Jul 5, 2020

Thanks. I made the change.

@Mic92 Mic92 merged commit 62f4539 into NixOS:master Jul 6, 2020
@bbigras
Copy link
Contributor Author

bbigras commented Jul 6, 2020

Thanks!! 😄

@bbigras bbigras deleted the 9343 branch July 6, 2020 13:37
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.

None yet

2 participants