19 lines
278 B
Nix
19 lines
278 B
Nix
|
{lib, ...}: let
|
||
|
inherit (lib) mkOption types;
|
||
|
in {
|
||
|
imports = [
|
||
|
./amd.nix
|
||
|
];
|
||
|
|
||
|
options.olympus.device.cpu = mkOption {
|
||
|
type = types.nullOr (
|
||
|
types.enum [
|
||
|
"amd"
|
||
|
"vm-amd"
|
||
|
]
|
||
|
);
|
||
|
default = null;
|
||
|
description = "CPU brand";
|
||
|
};
|
||
|
}
|