infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht 89597be3f4
All checks were successful
build configuration / build_storage01 (push) Successful in 46s
build configuration / build_compute01 (push) Successful in 1m10s
build configuration / build_web01 (push) Successful in 2m22s
feat(wordpress): Add user role editor plugin
2024-01-09 09:11:13 +01:00

35 lines
932 B
Nix

{ pkgs, lib, ... }:
let addons = import ./addons { inherit pkgs lib; };
in {
imports = [ ./module.nix ];
services.wp-containers = {
enable = true;
sites = {
"lavoixduntexte.normalesup.eu" = {
themes = { inherit (addons.themes) avant; };
plugins = { inherit (addons.plugins) wordpress-importer; };
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"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 ];
};
};
};
}