NixOS: Difference between revisions
imported>Makefu fix markup |
imported>Makefu →Modules: init |
||
Line 181: | Line 181: | ||
=== Modules === | === Modules === | ||
The NixOS module system as defined in [[Nixpkgs]] provides the means necessary to customize the configuration of the Operating System. It is used to enable and customize services such as '''nginx''', enable firmware and customize the kernel. | |||
All module-configuration is generally performed by adding the option entries into your '''configuration.nix'''. Most samples in the wiki are generally about the customization of the operating system and therefore require you to add the said options to you configuration file. | |||
NixOS modules implement a typing system which allows type validation and merging of module options which are defined in multiple places. | |||
see also: [https://nixos.org/nixos/manual/index.html#sec-writing-modules NixOS Manual about writing Modules] | |||
=== Generations === | === Generations === |