mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-05 19:03:21 +03:00
mobile-device: Add supportLevel config for docs
This commit is contained in:
parent
d736329bb9
commit
8fedb1afa4
@ -29,6 +29,7 @@ in
|
||||
inherit (identity) name manufacturer;
|
||||
inherit (mobile) hardware;
|
||||
inherit (mobile) documentation;
|
||||
inherit (mobile.device) supportLevel;
|
||||
quirks = {
|
||||
inherit (mobile.quirks) supportsStage-0;
|
||||
};
|
||||
|
@ -35,6 +35,14 @@ with lib;
|
||||
firmware bundles will be unredistributable.
|
||||
'';
|
||||
};
|
||||
|
||||
supportLevel = mkOption {
|
||||
type = types.enum [ "supported" "best-effort" "vendor" "unsupported" "abandoned" ];
|
||||
default = "unsupported";
|
||||
description = ''
|
||||
Support level for the device.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (!config.mobile.enable) {
|
||||
|
Loading…
Reference in New Issue
Block a user