blob: e46e4fa4004bbe01179d6d69bb51c95897e1c41d (
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; default = true; };
hasPrinter = lib.mkOption { type = lib.types.bool; default = true; };
displayProtocol = lib.mkOption {type = lib.types.enum ["xserver" "wayland"]; default = "wayland"; };
};
}
|