How can I find out what CPU scheduler my NixOS is using?

Hi everyone,

As per the title. Does NixOS just use the scheduler that’s default in upstream Linux (EEVDF as of my version - 6.12.47)? Is there a configuration option that allows changing the scheduler?

Thanks

Yes, it uses the default upstream and the LTS kernel if you did not select another one. You can change the kernel package via your config by following these instructions: https://wiki.nixos.org/wiki/Linux_kernel

It is possible to choose 3rd party ones, but the kernel must have a valid derivation as well, which is a bit more than just the binary.