Open dev-null-undefined opened 1 day ago
https://github.com/NixOS/nixpkgs/blob/4633a7c72337ea8fd23a4f2ba3972865e3ec685d/nixos/modules/services/monitoring/prometheus/exporters/mysqld.nix#L25
The module config should allow null path if you don't want to specify the config, so the type should probably be something like types.path or types.null
types.path or types.null
Feel free to PR! Should be types.nullOr types.path
types.nullOr types.path
https://github.com/NixOS/nixpkgs/blob/4633a7c72337ea8fd23a4f2ba3972865e3ec685d/nixos/modules/services/monitoring/prometheus/exporters/mysqld.nix#L25
The module config should allow null path if you don't want to specify the config, so the type should probably be something like
types.path or types.null