diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md')
-rw-r--r-- | nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md b/nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md index 6ca50e1d9c4a..814ed8d0468e 100644 --- a/nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md +++ b/nixpkgs/pkgs/servers/web-apps/wordpress/packages/README.md @@ -29,18 +29,20 @@ After that you can commit and submit the changes. The plugins will be available in the namespace `wordpressPackages.plugins`. Using it together with the Wordpress module could look like this: -``` -services.wordpress = { - sites."blog.${config.networking.domain}" = { - plugins = with pkgs.wordpressPackages.plugins; [ - anti-spam-bee - code-syntax-block - cookie-notice - lightbox-with-photoswipe - wp-gdpr-compliance - ]; +```nix +{ + services.wordpress = { + sites."blog.${config.networking.domain}" = { + plugins = with pkgs.wordpressPackages.plugins; [ + anti-spam-bee + code-syntax-block + cookie-notice + lightbox-with-photoswipe + wp-gdpr-compliance + ]; + }; }; -}; +} ``` The same scheme applies to `themes` and `languages`. |