Markdown autodoc examples

Remember to set the default-domain to nix in your Markdown files if your options use the {option}`services.foo.enable` syntax.

You can do it like so:

```{default-domain} nix
```

NixOS-like module options

Using autooption

services.autobar.enable boolean[source]

Whether to enable the Bar service.

Default value
false
Example
true

Using automodule

services.autobar
services.autobar.enable boolean[source]

Whether to enable the Bar service.

Default value
false
Example
true
services.autobar.openFirewall unspecified value[source]

Whether to automatically open the firewall.

Warning

This opens the firewall on all network interfaces.

Added in version nixos-24.05.

Default value
false
Example
true
services.autobar.package package[source]

The hello package to use.

Default value
pkgs.hello
services.autobar.pkg package[source]

Alias of services.autobar.package.