diff options
| -rw-r--r-- | home/colors.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/home/colors.nix b/home/colors.nix index ecafe62..42235bf 100644 --- a/home/colors.nix +++ b/home/colors.nix @@ -8,8 +8,7 @@ with lib; mkColorOption = name: { inherit name; value = mkOption { -# type = types.strMatching "[a-fA-F0-9]{6}"; - type = types.strMatching "[a-fA-F0-9]*"; + type = types.strMatching "[a-fA-F0-9]{6}"; description = "Color ${name}."; }; }; |