{ lib, ... }: { options.hardware.cpu = with lib; with types; { cores = mkOption { type = ints.positive; description = "The number of cpu cores."; }; threads = mkOption { type = ints.positive; description = "The number of cpu threads."; }; }; }