This commit is contained in:
Chris Cochrun 2023-06-17 06:37:15 -05:00
parent e6901ef554
commit 5dc21e5630
7 changed files with 35 additions and 13 deletions

View file

@ -45,7 +45,7 @@
# Enable fingerprint
services.fprintd.enable = true;
# Some other things
# Power settings
services.thermald.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp = {
@ -62,9 +62,14 @@
START_CHARGE_THRESH_BAT1=70;
STOP_CHARGE_THRESH_BAT1=80;
USB_ALLOWLIST="32ac:0002";
RUNTIME_PM_ON_AC="on";
RUNTIME_PM_ON_BAT="auto";
};
};
# SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="/usr/bin/at -M -f /lib/udev/power-profiles/power-saver now"
# SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/usr/bin/at -M -f /lib/udev/power-profiles/performance now"
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
services.xserver.dpi = 144;