disable scx on acer
This commit is contained in:
@@ -94,6 +94,7 @@ rec {
|
|||||||
gaming = true;
|
gaming = true;
|
||||||
enableTailscale = true;
|
enableTailscale = true;
|
||||||
ipv6Mostly = true;
|
ipv6Mostly = true;
|
||||||
|
scx = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
|
|||||||
@@ -119,6 +119,7 @@
|
|||||||
gaming = true;
|
gaming = true;
|
||||||
# users.drugi = true;
|
# users.drugi = true;
|
||||||
enableTailscale = true;
|
enableTailscale = true;
|
||||||
|
scx = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user