flâneur

NixOS options - MyNixOS

mynixos.com · 282 words · saved by 1 readers

How to configure NixOS options with MyNixOS

Options are a central concept in NixOS. Options are used to specify whether to enable or disable functionality, or to configure how functionality should behave. Each NixOS option has a type, which describes the kind of value which can be set for the option. Depending on the type, multiple option assignments can be merged during evaluation of the configuration. For example, if different parts of a configuration assigns values to the networking.firewall.allowedTCPPorts option, the resulting lists will be merged into a single list during evaluation. How to set NixOS option values After…

saved by

related reading