add meta to all fields

This commit is contained in:
Inex Code 2024-08-09 15:11:07 +03:00
parent ef9eff290e
commit f2df5948c8

View file

@ -13,10 +13,21 @@ in
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enable the forgejo module"; description = "Enable the forgejo module";
} // {
meta = {
type = "sp-module-enable";
default = false;
description = "Enable the forgejo module";
};
}; };
location = lib.mkOption { location = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "The location to store the forgejo data"; description = "The location to store the forgejo data";
} // {
meta = {
type = "sp-module-location";
description = "The location to store the forgejo data";
};
}; };
subdomain = lib.mkOption { subdomain = lib.mkOption {
default = "git"; default = "git";