diff --git a/machines/web01/wordpress/addons/plugins.nix b/machines/web01/wordpress/addons/plugins.nix index e5d989e..493be0c 100644 --- a/machines/web01/wordpress/addons/plugins.nix +++ b/machines/web01/wordpress/addons/plugins.nix @@ -3,4 +3,8 @@ version = "0.8.1"; hash = "sha256-vOgAFIapqGTFLMeH7xVPnfRKtKT+E7ToUkcz5/a9f8g="; }; + user-role-editor = { + version = "4.64.1"; + hash = "sha256-ZOpeY0SMeL6jT6PbGWnGlTADYUY9eUufymfRBqvCVac="; + }; } diff --git a/machines/web01/wordpress/default.nix b/machines/web01/wordpress/default.nix index 2bde16d..efe7a21 100644 --- a/machines/web01/wordpress/default.nix +++ b/machines/web01/wordpress/default.nix @@ -17,6 +17,17 @@ in { }; "bds.wp.dgnum.eu" = { + plugins = { inherit (addons.plugins) user-role-editor; }; + languages = [ pkgs.wordpressPackages.languages.fr_FR ]; + }; + + "bda.wp.dgnum.eu" = { + plugins = { inherit (addons.plugins) user-role-editor; }; + languages = [ pkgs.wordpressPackages.languages.fr_FR ]; + }; + + "cineclub.wp.dgnum.eu" = { + plugins = { inherit (addons.plugins) user-role-editor; }; languages = [ pkgs.wordpressPackages.languages.fr_FR ]; }; }; diff --git a/machines/web01/wordpress/module.nix b/machines/web01/wordpress/module.nix index 5e5e63a..3be092f 100644 --- a/machines/web01/wordpress/module.nix +++ b/machines/web01/wordpress/module.nix @@ -33,7 +33,7 @@ let firewall.allowedTCPPorts = [ 443 ]; }; - environment.systemPackages = [ pkgs.wp-cli ]; + environment.systemPackages = [ pkgs.wp-cli pkgs.neovim ]; system.stateVersion = "23.11"; };