Fix color typing

Change-Id: Ie7040d41fb84b7c70c595bf8e376c0edc02daa05
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/388
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/home/theme/default.nix b/modules/home/theme/default.nix
index 11478c8..de1c7f4 100644
--- a/modules/home/theme/default.nix
+++ b/modules/home/theme/default.nix
@@ -85,17 +85,33 @@
 
     colors =
       let
-        themeColor = {
-          hex = lib.types.str;
-          rgb = {
-            r = lib.types.numbers 0 255;
-            g = lib.types.numbers 0 255;
-            b = lib.types.numbers 0 255;
-          };
-          hsl = {
-            h = lib.types.numbers 0 360;
-            s = lib.types.numbers 0 100;
-            l = lib.types.numbers 0 100;
+        themeColor = lib.types.submodule {
+          options = {
+            hex = lib.mkOption {
+              type = lib.types.str;
+            };
+            rgb = {
+              r = lib.mkOption {
+                type = lib.types.numbers 0 255;
+              };
+              g = lib.mkOption {
+                type = lib.types.numbers 0 255;
+              };
+              b = lib.mkOption {
+                type = lib.types.numbers 0 255;
+              };
+            };
+            hsl = {
+              h = lib.mkOption {
+                type = lib.types.numbers 0 360;
+              };
+              s = lib.mkOption {
+                type = lib.types.numbers 0 100;
+              };
+              l = lib.mkOption {
+                type = lib.types.numbers 0 100;
+              };
+            };
           };
         };
       in