[Power] Init power related config.

Also add cpuVendor setting.
This commit is contained in:
Antoine Viallon 2022-10-12 19:22:13 +02:00
parent 7fe3bbba5f
commit 8073aa4e47
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
3 changed files with 177 additions and 0 deletions

View file

@ -51,6 +51,13 @@ in
description = "Number of physical threads of the machine";
type = with types; nullOr ints.positive;
};
cpuVendor = mkOption {
default = null;
example = "amd";
description = "Vendor of you CPU. Either AMD or Intel";
type = types.str;
};
cpuArch = mkOption {
default = "x86-64";