meow
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
modules.kitty
|
||||
modules.stylix
|
||||
modules.quickshell
|
||||
# modules.lavd
|
||||
modules.lavd
|
||||
# modules.podman
|
||||
# modules.openvivo
|
||||
];
|
||||
|
||||
@@ -174,7 +174,7 @@
|
||||
# "i915.modeset=1"
|
||||
# "ahci.mobile_lpm_policy=1"
|
||||
# "intel_idle.max_cstate=10"
|
||||
# "processor.max_cstate=10"
|
||||
"processor.max_cstate=10"
|
||||
# "quiet"
|
||||
# "splash"
|
||||
# "idle=halt"
|
||||
|
||||
@@ -1,21 +1,25 @@
|
||||
{ modules, den, ... }:
|
||||
{
|
||||
modules.lavd = {
|
||||
nixos = {
|
||||
services.scx = {
|
||||
enable = true;
|
||||
## Commented out because the service impl is bugged and doesnt actually set these
|
||||
# scheduler = "scx_lavd";
|
||||
# extraArgs = [
|
||||
# "--cpu-pref-order 20-21,12-19,0-11"
|
||||
# "--autopilot"
|
||||
# ];
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.config.allowUnsupportedSystem = true;
|
||||
services.scx = {
|
||||
enable = true;
|
||||
package = pkgs.scx.rustscheds;
|
||||
## Commented out because the service impl is bugged and doesnt actually set these
|
||||
# scheduler = "scx_lavd";
|
||||
# extraArgs = [
|
||||
# "--cpu-pref-order 20-21,12-19,0-11"
|
||||
# "--autopilot"
|
||||
# ];
|
||||
};
|
||||
# Most energy efficent scheduler setup..
|
||||
systemd.services.scx.environment = {
|
||||
SCX_SCHEDULER_OVERRIDE = "scx_lavd";
|
||||
SCX_FLAGS_OVERRIDE = "--powersave";
|
||||
};
|
||||
};
|
||||
# Most energy efficent scheduler setup..
|
||||
systemd.services.scx.environment = {
|
||||
SCX_SCHEDULER_OVERRIDE = "scx_lavd";
|
||||
SCX_FLAGS_OVERRIDE = "--powersave --per-cpu-dsq";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user