My friend I know you just discovered nix but "don't have processes we don't need using cpu cycles" is low hanging fruit. If you really care then you'd use a bare linux kernel.
Of course mining is done on ASICs. If you care about latency you implement the network interface into the ASIC, and don't even use a CPU.
Parent's answer wasn't anti-crypto.