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:
Kiana Sheibani 2024-03-20 01:09:10 -04:00
parent 2d9c13c7a2
commit f940ad0218

View file

@ -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;
};
}