modules.system.kernel: enable scx

This commit is contained in:
2024-12-29 12:22:09 +08:00
parent 4bbc7e3347
commit 3cea37ca48

View File

@@ -89,5 +89,10 @@ inputs:
inputs.lib.mkIf (kernel.variant == "rpi3")
{ boot.initrd = { systemd.enableTpm2 = false; includeDefaultModules = false; }; }
)
# enable scx when using cachyos
(
inputs.lib.mkIf (builtins.elem kernel.variant [ "cachyos" "cachyos-lto" "cachyos-server" ])
{ services.scx = { enable = true; scheduler = "scx_bpfland"; }; }
)
];
}