{ 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" # ]; }; # Most energy efficent scheduler setup.. systemd.services.scx.environment = { SCX_SCHEDULER_OVERRIDE = "scx_lavd"; SCX_FLAGS_OVERRIDE = "--powersave --enable-cpu-bw --cpu-pref-order '20-21,12-19,0-11'"; }; }; }; }