Enable TLP on my notebooks
This commit is contained in:
parent
68b49d870d
commit
3616bbc646
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
DEVICES_TO_DISABLE_ON_STARTUP = "bluetooth wifi wwan";
|
||||
DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE = "bluetooth wifi wwan";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
"${inputs.self}/hardware/bluetooth"
|
||||
"${inputs.self}/hardware/nvidia"
|
||||
"${inputs.self}/modules/data-share"
|
||||
"${inputs.self}/modules/desktop"
|
||||
"${inputs.self}/modules/docker"
|
||||
"${inputs.self}/modules/droidcam"
|
||||
|
@ -13,7 +14,7 @@
|
|||
"${inputs.self}/modules/lockscreen"
|
||||
"${inputs.self}/modules/nix-direnv"
|
||||
"${inputs.self}/modules/restic"
|
||||
"${inputs.self}/modules/data-share"
|
||||
"${inputs.self}/modules/tlp"
|
||||
];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"aesni_intel"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"${inputs.self}/modules/espanso"
|
||||
"${inputs.self}/modules/lockscreen"
|
||||
"${inputs.self}/modules/restic"
|
||||
"${inputs.self}/modules/tlp"
|
||||
];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"aesni_intel"
|
||||
|
|
Loading…
Reference in New Issue