From eb3e4118d320b34b8dbd6140bc5e6012c6c5c429 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Tue, 12 Mar 2024 14:51:51 +0100 Subject: [PATCH] remove premium plugins at wordpress. add tex plugin --- modules/server/wordpress.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/modules/server/wordpress.nix b/modules/server/wordpress.nix index 9d54dc3..8a13828 100644 --- a/modules/server/wordpress.nix +++ b/modules/server/wordpress.nix @@ -74,15 +74,9 @@ with lib; { version = "1.26.1"; hash = "sha256-Ble+LCZ68QIRbxiyg7X0Zoq9WTQxqiVnS5HWvsES+E8="; }; - wp-bibtex = fetchPlugin { - name = "wp-bibtex"; - version = "3.0.1"; - hash = "sha256-41Z6y78xse0OsxVNtDs/ChCyH70y6+DyfgHLcxpKWmI="; - }; - - pdf-embedder = fetchPlugin { - name = "pdf-embedder"; - version = "4.7.1"; + teachpress = fetchPlugin { + name = "teachpress"; + version = "9.0.6"; hash = "sha256-C2UakOTka/Tut6Y0jeA1wbBgcUnRxlVTIAu4mdnyaPA="; }; in @@ -96,7 +90,7 @@ with lib; { webserver = "nginx"; sites."${cfg.domain}" = { package = pkgs.wordpress6_4; - plugins = {inherit antispam-bee wordpress-seo templates-patterns-collection wp-bibtex code-block-pro pdf-embedder;}; + plugins = {inherit antispam-bee wordpress-seo templates-patterns-collection code-block-pro teachpress;}; themes = {inherit neve;}; settings = {WP_DEFAULT_THEME = "neve";}; virtualHost = {