From f83c8e902087383f4fd5eb8a6939f81ac3613b0a Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 16 May 2024 22:01:22 -0700 Subject: Fix color type --- home/colors.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'home/colors.nix') 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}."; }; }; -- cgit v1.2.3