blob: acf9eb51b3443376cab8c7e49eed9142a2998175 (
plain) (
tree)
|
|
{
config,
options,
lib,
...
}: {
options.modules.device = {
name = lib.mkOption {type = lib.types.str;};
cpu = lib.mkOption {type = lib.types.enum ["intel"];};
gpu = lib.mkOption {type = lib.types.enum ["intel" "nvidia"];};
drive = lib.mkOption {type = lib.types.enum ["ssd" "nvme"];};
hasBluetooth = lib.mkOption {type = lib.types.bool;};
displayProtocol = lib.mkOption {type = lib.types.enum ["xserver" "wayland"];};
};
}
|