1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-23 18:19:44 +01:00

Merge pull request #416 from reedriley/framework

framework: add nvme.noacpi=1 and make fprintd optional
This commit is contained in:
Jörg Thalheim 2022-05-20 17:55:54 +01:00 committed by GitHub
commit be2b338c6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,9 +5,14 @@
../common/pc/laptop/ssd
];
# For Power consumption
# https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html
boot.kernelParams = [ "mem_sleep_default=deep" ];
boot.kernelParams = [
# For Power consumption
# https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html
"mem_sleep_default=deep"
# For Power consumption
# https://community.frame.work/t/linux-battery-life-tuning/6665/156
"nvme.noacpi=1"
];
# Requires at least 5.16 for working wi-fi and bluetooth.
# https://community.frame.work/t/using-the-ax210-with-linux-on-the-framework-laptop/1844/89
@ -20,7 +25,7 @@
'';
# For fingerprint support
services.fprintd.enable = true;
services.fprintd.enable = lib.mkDefault true;
# Fix headphone noise when on powersave
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55