Unverified Commit 7252fbc5 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

evremap: Fix key type regex (#388802)

parents f4632bcb 60cf5c71
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_";
  };