summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 5f01ccb5..4bb8c173 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -7,7 +7,7 @@ let
mkOption mkOptionType optional optionalAttrs optionals range splitString
stringLength substring test testString typeOf;
inherit (lib.types)
- addCheck attrsOf bool either enum int lines listOf nullOr path str submodule;
+ attrsOf bool either enum int lines listOf nullOr path str submodule;
in
rec {
@@ -595,9 +595,6 @@ rec {
};
};
- flameshot.color =
- either (addCheck str (test "#[0-9A-Fa-f]{6}")) svg.color-keyword;
-
file-mode = mkOptionType {
name = "file mode";
check = test "[0-7]{4}";