This commit is contained in:
2026-04-11 19:07:55 +01:00
parent 8a477b4971
commit 1cf837cd65
3 changed files with 21 additions and 17 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
modules.kitty modules.kitty
modules.stylix modules.stylix
modules.quickshell modules.quickshell
# modules.lavd modules.lavd
# modules.podman # modules.podman
# modules.openvivo # modules.openvivo
]; ];
+1 -1
View File
@@ -174,7 +174,7 @@
# "i915.modeset=1" # "i915.modeset=1"
# "ahci.mobile_lpm_policy=1" # "ahci.mobile_lpm_policy=1"
# "intel_idle.max_cstate=10" # "intel_idle.max_cstate=10"
# "processor.max_cstate=10" "processor.max_cstate=10"
# "quiet" # "quiet"
# "splash" # "splash"
# "idle=halt" # "idle=halt"
+19 -15
View File
@@ -1,21 +1,25 @@
{ modules, den, ... }: { modules, den, ... }:
{ {
modules.lavd = { modules.lavd = {
nixos = { nixos =
services.scx = { { pkgs, ... }:
enable = true; {
## Commented out because the service impl is bugged and doesnt actually set these nixpkgs.config.allowUnsupportedSystem = true;
# scheduler = "scx_lavd"; services.scx = {
# extraArgs = [ enable = true;
# "--cpu-pref-order 20-21,12-19,0-11" package = pkgs.scx.rustscheds;
# "--autopilot" ## 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";
};
};
}; };
} }