main
 1id: nix-explicit-option-types
 2message: Always specify explicit type for mkOption
 3severity: warning
 4language: Nix
 5note: Add 'type = types.<type>' to the option definition
 6rule:
 7  pattern: |
 8    mkOption {
 9      $$$OPTS
10    }
11  not:
12    has:
13      pattern: type = $TYPE