mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Laptop] Enable nohz for laptops by default
This commit is contained in:
parent
a6660555cf
commit
42ee8e7539
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ in {
|
||||||
aviallon.boot.cmdline = {
|
aviallon.boot.cmdline = {
|
||||||
"i915.enable_fbc" = 1;
|
"i915.enable_fbc" = 1;
|
||||||
"i915.enable_gvt" = 1;
|
"i915.enable_gvt" = 1;
|
||||||
|
|
||||||
|
# Les power consumption against some performance
|
||||||
|
"workqueue.power_efficient" = "";
|
||||||
|
nohz = "on";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tlp.enable = (cfg.power-manager == "tlp");
|
services.tlp.enable = (cfg.power-manager == "tlp");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue