17
hosts/common/system/configs/cpu/options.nix
Normal file
17
hosts/common/system/configs/cpu/options.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ 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.";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user