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 an "enable" option to let a user of this module choose.
     # 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 are depend on whether a user of this module chose to "enable" it
     # Usually these depend on whether a user of this module chose to "enable" it
     # using the "option" above.  
     # using the "option" above.  
     # You also set options here for modules that you imported in "imports".
     # Options for modules imported in "imports" can be set here.
   };
   };
}
}