0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Add missing 'type', 'defaultText' and 'literalExample' in module definitions

- add missing types in module definitions
- add missing 'defaultText' in module definitions
- wrap example with 'literalExample' where necessary in module definitions
This commit is contained in:
Thomas Strobel 2016-01-17 19:34:55 +01:00
parent ae5ef2b009
commit a04a7272aa
81 changed files with 175 additions and 97 deletions

View file

@ -85,7 +85,8 @@ in
package = mkOption {
type = types.package;
default = pkgs.samba;
example = pkgs.samba4;
defaultText = "pkgs.samba";
example = literalExample "pkgs.samba4";
description = ''
Defines which package should be used for the samba server.
'';