From f940ad0218101be08107b040e14876fbef5eb9a6 Mon Sep 17 00:00:00 2001 From: kiana-S Date: Wed, 20 Mar 2024 01:09:10 -0400 Subject: [PATCH] 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. --- platform.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.nix b/platform.nix index 72fbc7b..cf06ca2 100644 --- a/platform.nix +++ b/platform.nix @@ -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; }; }