disable scx on acer
This commit is contained in:
@@ -94,6 +94,7 @@ rec {
|
||||
gaming = true;
|
||||
enableTailscale = true;
|
||||
ipv6Mostly = true;
|
||||
scx = false;
|
||||
};
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
gaming = true;
|
||||
# users.drugi = true;
|
||||
enableTailscale = true;
|
||||
scx = true;
|
||||
};
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{
|
||||
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 {
|
||||
# https://github.com/NixOS/nixpkgs/blob/10e687235226880ed5e9f33f1ffa71fe60f2638a/nixos/modules/programs/steam.nix
|
||||
@@ -32,7 +33,7 @@
|
||||
};
|
||||
|
||||
services.scx = {
|
||||
enable = true;
|
||||
enable = config.lumpiasty.scx;
|
||||
scheduler = "scx_cosmos";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user