ooknet/system/modules/host/hardware/cpu/default.nix
ooks-io 7a74befde3 feat(systemModules:host): add initial host configuration module
used to define general host configuration, including:

- hardware
- name
- admin
- type
- role
2024-04-29 18:48:18 +12:00

18 lines
294 B
Nix

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