mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Power] Init power related config.
Also add cpuVendor setting.
This commit is contained in:
parent
7fe3bbba5f
commit
8073aa4e47
3 changed files with 177 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue