evremap: Fix key type regex (#388802)
This commit is contained in:
@@ -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_";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user