mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
Merge pull request #416 from reedriley/framework
framework: add nvme.noacpi=1 and make fprintd optional
This commit is contained in:
commit
be2b338c6a
1 changed files with 9 additions and 4 deletions
|
@ -5,9 +5,14 @@
|
||||||
../common/pc/laptop/ssd
|
../common/pc/laptop/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelParams = [
|
||||||
# For Power consumption
|
# For Power consumption
|
||||||
# https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html
|
# https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html
|
||||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
"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.
|
# 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
|
# https://community.frame.work/t/using-the-ax210-with-linux-on-the-framework-laptop/1844/89
|
||||||
|
@ -20,7 +25,7 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# For fingerprint support
|
# For fingerprint support
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# Fix headphone noise when on powersave
|
# Fix headphone noise when on powersave
|
||||||
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
|
||||||
|
|
Loading…
Reference in a new issue