1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 19:13:33 +02: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 ../common/pc/laptop/ssd
]; ];
# For Power consumption boot.kernelParams = [
# https://kvark.github.io/linux/framework/2021/10/17/framework-nixos.html # For Power consumption
boot.kernelParams = [ "mem_sleep_default=deep" ]; # 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. # 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