18 lines
295 B
Nix
18 lines
295 B
Nix
{ lib, ... }:
|
|
|
|
let
|
|
inherit (lib) types mkOption;
|
|
in
|
|
|
|
{
|
|
imports = [
|
|
./amd.nix
|
|
./intel.nix
|
|
];
|
|
|
|
options.ooknet.host.hardware.cpu.type = mkOption {
|
|
type = with types; nullOr (enum ["intel" "amd"]);
|
|
default = null;
|
|
description = "Type of cpu system module to use";
|
|
};
|
|
}
|