nixfiles/modules/nixos/machine.nix

15 lines
255 B
Nix

{lib, ...}: let
inherit (lib.modules) mkOption;
inherit (lib.types) enum;
in {
options.machine = {
cpuVendor = mkOption {
type = enum [
"intel"
"amd"
"apple"
];
description = "CPU vendor";
};
};
}