disable scx on acer

This commit is contained in:
2026-07-05 13:46:48 +02:00
parent 1ade2f5b2f
commit c9c6ba7f56
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -94,6 +94,7 @@ rec {
gaming = true; gaming = true;
enableTailscale = true; enableTailscale = true;
ipv6Mostly = true; ipv6Mostly = true;
scx = false;
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {
+1
View File
@@ -119,6 +119,7 @@
gaming = true; gaming = true;
# users.drugi = true; # users.drugi = true;
enableTailscale = true; enableTailscale = true;
scx = true;
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {
+2 -1
View File
@@ -1,6 +1,7 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
options.lumpiasty.gaming = lib.mkEnableOption "Enable options specific to gaming computers"; options.lumpiasty.gaming = lib.mkEnableOption "Enable options specific to gaming computers";
options.lumpiasty.scx = lib.mkEnableOption "Enable sched-ext";
config = lib.mkIf config.lumpiasty.gaming { config = lib.mkIf config.lumpiasty.gaming {
# https://github.com/NixOS/nixpkgs/blob/10e687235226880ed5e9f33f1ffa71fe60f2638a/nixos/modules/programs/steam.nix # https://github.com/NixOS/nixpkgs/blob/10e687235226880ed5e9f33f1ffa71fe60f2638a/nixos/modules/programs/steam.nix
@@ -32,7 +33,7 @@
}; };
services.scx = { services.scx = {
enable = true; enable = config.lumpiasty.scx;
scheduler = "scx_cosmos"; scheduler = "scx_cosmos";
}; };
}; };