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
1 changed files with 1 additions and 1 deletions
|
|
@ -2,6 +2,6 @@
|
||||||
{
|
{
|
||||||
options.platform = lib.mkOption {
|
options.platform = lib.mkOption {
|
||||||
description = "The platform to configure for";
|
description = "The platform to configure for";
|
||||||
type = lib.types.enum [ "desktop" "laptop" "mobile" ];
|
type = lib.types.str;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue