test metadata in option

This commit is contained in:
Inex Code 2024-08-09 14:44:20 +03:00
parent 7247574c91
commit cfc1f24c18

View file

@ -19,6 +19,11 @@ in
subdomain = lib.mkOption {
default = "git";
type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]";
}; // {
meta = {
widget = "subdomain";
description = "Subdomain";
};
};
appName = lib.mkOption {
default = "SelfPrivacy git Service";