Generalize platform option type
There's no point in being restrictive here if we want to make it easier to add more platforms in the future.
This commit is contained in:
parent
2d9c13c7a2
commit
f940ad0218
|
@ -2,6 +2,6 @@
|
|||
{
|
||||
options.platform = lib.mkOption {
|
||||
description = "The platform to configure for";
|
||||
type = lib.types.enum [ "desktop" "laptop" "mobile" ];
|
||||
type = lib.types.str;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue