From 0692f5d8ebf9b76120de091bb5850fe9188a1e44 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Tue, 12 Mar 2024 14:43:09 +0100 Subject: [PATCH] [wordpress] more plugins --- modules/server/wordpress.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/modules/server/wordpress.nix b/modules/server/wordpress.nix index fff9de3..3d861f8 100644 --- a/modules/server/wordpress.nix +++ b/modules/server/wordpress.nix @@ -69,6 +69,22 @@ with lib; { version = "1.2.7"; hash = "sha256-r4jwy2bS5u8E+JSXn8k73qIcWJYjFy2McdV1YlbPQQk="; }; + code-block-pro = fetchPlugin { + name = "code-block-pro"; + version = "1.26.1"; + hash = "sha256-r4jwy2bS5u8E+JSXn8k73qIcWJYjFy2McdV1YlbPQQk="; + }; + wp-bibtex = fetchPlugin { + name = "wp-bibtex"; + version = "3.0.1"; + hash = "sha256-r4jwy2bS5u8E+JSXn8k73qIcWJYjFy2McdV1YlbPQQk="; + }; + + pdf-embedder = fetchPlugin { + name = "pdf-embedder"; + version = "4.7.1"; + hash = "sha256-r4jwy2bS5u8E+JSXn8k73qIcWJYjFy2McdV1YlbPQQk="; + }; in mkIf cfg.enable { services.nginx.virtualHosts."${cfg.domain}" = { @@ -80,7 +96,7 @@ with lib; { webserver = "nginx"; sites."${cfg.domain}" = { package = pkgs.wordpress6_4; - plugins = {inherit antispam-bee wordpress-seo templates-patterns-collection;}; + plugins = {inherit antispam-bee wordpress-seo templates-patterns-collection wp-bibtex code-block-pro pdf-embedder;}; themes = {inherit neve;}; settings = {WP_DEFAULT_THEME = "neve";}; virtualHost = {