18 lines
319 B
Nix
18 lines
319 B
Nix
{ 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.";
|
|
};
|
|
};
|
|
}
|