kick system76-scheduler out and use scx_cosmos

This commit is contained in:
2026-04-02 02:38:22 +02:00
parent 07f34cb24b
commit d44f528d0e
4 changed files with 5 additions and 17 deletions
-1
View File
@@ -88,7 +88,6 @@ rec {
laptop = true; laptop = true;
gaming = true; gaming = true;
enableTailscale = true; enableTailscale = true;
system76Scheduler = true;
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {
-1
View File
@@ -21,6 +21,5 @@
desktop/touchpad.nix desktop/touchpad.nix
desktop/pulseaudio.nix desktop/pulseaudio.nix
desktop/tailscale.nix desktop/tailscale.nix
desktop/system76-scheduler.nix
]; ];
} }
-15
View File
@@ -1,15 +0,0 @@
{ config, lib, pkgs, modulesPath, ... }:
{
options.lumpiasty.system76Scheduler = lib.mkEnableOption "Enable system76-scheduler";
config = lib.mkIf (config.lumpiasty.system76Scheduler) {
# Enable system76-scheduler
# Config basically rewrite of stock, a bit tuned
services.system76-scheduler = {
enable = true;
useStockConfig = true;
};
# Add https://github.com/maxiberta/kwin-system76-scheduler-integration kwin script
};
}
+5
View File
@@ -30,5 +30,10 @@
extraGroups = ["gamemode"]; extraGroups = ["gamemode"];
}; };
}; };
services.scx = {
enable = true;
scheduler = "scx_cosmos";
};
}; };
} }