[Nix-dev] NixOS tip: Modules are easier to share than documentation.

Nicolas Pierron nicolas.b.pierron at gmail.com
Mon Oct 31 01:12:27 CET 2011


Hi list,

One of the main reason behind the creation of modules was to ease
sharing of configuration among users, and avoid the pain of reading
forums/wikis to understand how to achieve simple things.  (Not
blaming) The following modification made to the wiki

https://nixos.org/w/index.php?title=Samba_on_nix&diff=532&oldid=prev

should have been added inside the samba module (except the
firewall.enable definition).  To provide a good user experience, we
have to reduce the amount of documentation necessary to build a
system.

services.samba = { ... };
services.firewall.enable = true;

Cheers,

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/


More information about the nix-dev mailing list