diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-05-16 22:01:22 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-05-16 22:01:22 -0700 |
| commit | f83c8e902087383f4fd5eb8a6939f81ac3613b0a (patch) | |
| tree | 8998488999ba1219e6b450dddc41c1157961f65e | |
| parent | e1c296783c1c92bb0b65784fe4f2a128d0922d60 (diff) | |
Fix color type
| -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}."; }; }; |