blob: fbf4d956cc1878e418404b901cbef060c6fa6181 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{
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;};
hasPrinter = lib.mkOption { type = lib.types.bool; };
displayProtocol = lib.mkOption {type = lib.types.enum ["xserver" "wayland"];};
};
}
|