diff --git a/hosts/acer.nix b/hosts/acer.nix index 654611f..08f370a 100644 --- a/hosts/acer.nix +++ b/hosts/acer.nix @@ -88,7 +88,6 @@ rec { laptop = true; gaming = true; enableTailscale = true; - system76Scheduler = true; }; virtualisation.vmVariant = { diff --git a/modules/default.nix b/modules/default.nix index 9790940..ecc2178 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -21,6 +21,5 @@ desktop/touchpad.nix desktop/pulseaudio.nix desktop/tailscale.nix - desktop/system76-scheduler.nix ]; } \ No newline at end of file diff --git a/modules/desktop/system76-scheduler.nix b/modules/desktop/system76-scheduler.nix deleted file mode 100644 index a13aeab..0000000 --- a/modules/desktop/system76-scheduler.nix +++ /dev/null @@ -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 - }; -} \ No newline at end of file diff --git a/modules/system/gaming.nix b/modules/system/gaming.nix index 90b409e..3ce529d 100644 --- a/modules/system/gaming.nix +++ b/modules/system/gaming.nix @@ -30,5 +30,10 @@ extraGroups = ["gamemode"]; }; }; + + services.scx = { + enable = true; + scheduler = "scx_cosmos"; + }; }; } \ No newline at end of file