mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
15 lines
255 B
Nix
15 lines
255 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkOption;
|
|
inherit (lib.types) enum;
|
|
in {
|
|
options.machine = {
|
|
cpuVendor = mkOption {
|
|
type = enum [
|
|
"intel"
|
|
"amd"
|
|
"apple"
|
|
];
|
|
description = "CPU vendor";
|
|
};
|
|
};
|
|
}
|