Change default schedular for NixOS-Zen kernel.
Well it’s not obvious and Syntax is very esoteric,
Here config which works,
# Gebruik de override direct bij de toewijzing om recursie te voorkomen
boot.kernelPackages = (pkgs.linuxPackages_zen.extend (f: p: {
kernel = p.kernel.override {
ignoreConfigErrors = true;
};
}));
boot.kernelPatches = [ {
name = "zen-tuning-config";
patch = null;
structuredExtraConfig = with lib.kernel; {
SCHED_ALT = yes;
SCHED_BMQ = yes;
SCHED_PROXY_EXEC = yes;
BSD_DISKLABEL = yes;
MINIX_SUBPARTITION = yes;
SCHED_PDS = no;
};
} ];
Most important , ignore errors.