diff options
Diffstat (limited to 'modules/webapps/etherpad-lite.nix')
-rw-r--r-- | modules/webapps/etherpad-lite.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/webapps/etherpad-lite.nix b/modules/webapps/etherpad-lite.nix index 7f0e2ed..2e09952 100644 --- a/modules/webapps/etherpad-lite.nix +++ b/modules/webapps/etherpad-lite.nix | |||
@@ -57,18 +57,22 @@ in | |||
57 | description = '' | 57 | description = '' |
58 | Etherpad lite package to use. | 58 | Etherpad lite package to use. |
59 | ''; | 59 | ''; |
60 | example = lib.literalExample '' | ||
61 | pkgs.webapps.etherpad-lite.withModules (p: [ p.ep_align ]); | ||
62 | ''; | ||
60 | }; | 63 | }; |
61 | modules = lib.mkOption { | 64 | modules = lib.mkOption { |
62 | type = lib.types.listOf lib.types.package; | 65 | type = lib.types.listOf lib.types.package; |
63 | default = []; | 66 | default = []; |
64 | description = '' | 67 | description = '' |
65 | Etherpad lite modules to use. | 68 | Etherpad lite modules to use. |
69 | DEPRECATED: use package directly | ||
66 | ''; | 70 | ''; |
67 | }; | 71 | }; |
68 | # Output variables | 72 | # Output variables |
69 | workdir = lib.mkOption { | 73 | workdir = lib.mkOption { |
70 | type = lib.types.package; | 74 | type = lib.types.package; |
71 | default = cfg.package.withModules cfg.modules; | 75 | default = cfg.package.withModules (_: cfg.modules); |
72 | description = '' | 76 | description = '' |
73 | Adjusted Etherpad lite package with plugins | 77 | Adjusted Etherpad lite package with plugins |
74 | ''; | 78 | ''; |