via NixOS module options; 2. via a module that is parameterized as a Nix function; 3. via the special _module.args option. Module options are used everywhere in NixOS, so you should try that first. Module options are used everywhere in NixOS, so you should try that first. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.