aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-05-16 22:01:22 -0700
committerCaroline Larimore <caroline@larimo.re>2024-05-16 22:01:22 -0700
commitf83c8e902087383f4fd5eb8a6939f81ac3613b0a (patch)
tree8998488999ba1219e6b450dddc41c1157961f65e /home
parente1c296783c1c92bb0b65784fe4f2a128d0922d60 (diff)
Fix color type
Diffstat (limited to 'home')
-rw-r--r--home/colors.nix3
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}.";
};
};