refactor(systemModules): move hardware --> device/hardware, add function option
This commit is contained in:
parent
34ad7d3d61
commit
7679a227ac
17 changed files with 23 additions and 7 deletions
|
|
@ -1,18 +0,0 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./amd
|
||||
./intel
|
||||
];
|
||||
|
||||
options.systemModules.hardware.cpu.type = mkOption {
|
||||
type = with types; nullOr (enum ["intel" "amd"]);
|
||||
default = null;
|
||||
description = "Type of cpu system module to use";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue