summaryrefslogblamecommitdiffstats
path: root/modules/device.nix
blob: acf9eb51b3443376cab8c7e49eed9142a2998175 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                      
{
    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"];};
    };
}