NixOS modules: Difference between revisions
imported>Gileri m T'is a config, not an option |
imported>Siriobalmelli m Minor grammar |
||
Line 17: | Line 17: | ||
# Option declarations. | # Option declarations. | ||
# Declare what settings a user of this module module can set. | # Declare what settings a user of this module module can set. | ||
# Usually this includes | # Usually this includes a global "enable" option which defaults to false. | ||
}; | }; | ||
Line 23: | Line 23: | ||
# Option definitions. | # Option definitions. | ||
# Define what other settings, services and resources should be active. | # Define what other settings, services and resources should be active. | ||
# Usually these | # Usually these depend on whether a user of this module chose to "enable" it | ||
# using the "option" above. | # using the "option" above. | ||
# | # Options for modules imported in "imports" can be set here. | ||
}; | }; | ||
} | } |