X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fwebapps%2Fetherpad-lite.nix;h=2e0995287e7f07074ebc7dfdf1694f383a851aa3;hb=5a61f6ad5164a735be26e016c59e72252ffb49b7;hp=7f0e2ed4afbc41c303b887e367af78ccb845e689;hpb=5af8d43b9ee0543ff212e5c51fb0e750a2b83955;p=perso%2FImmae%2FConfig%2FNix.git 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 description = '' Etherpad lite package to use. ''; + example = lib.literalExample '' + pkgs.webapps.etherpad-lite.withModules (p: [ p.ep_align ]); + ''; }; modules = lib.mkOption { type = lib.types.listOf lib.types.package; default = []; description = '' Etherpad lite modules to use. + DEPRECATED: use package directly ''; }; # Output variables workdir = lib.mkOption { type = lib.types.package; - default = cfg.package.withModules cfg.modules; + default = cfg.package.withModules (_: cfg.modules); description = '' Adjusted Etherpad lite package with plugins '';