evremap: Fix key type regex (#388802)

This commit is contained in:
Sefa Eyeoglu
2025-03-11 10:57:32 +01:00
committed by GitHub
+1 -1
View File
@@ -10,7 +10,7 @@ let
settings = lib.attrsets.filterAttrs (n: v: v != null) cfg.settings;
configFile = format.generate "evremap.toml" settings;
key = lib.types.strMatching "(BTN|KEY)_[[:upper:]]+" // {
key = lib.types.strMatching "(BTN|KEY)_[[:upper:][:digit:]_]+" // {
description = "key ID prefixed with BTN_ or KEY_";
};