infrastructure/machines/web01/wordpress/default.nix

36 lines
932 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2023-10-07 15:48:53 +02:00
let addons = import ./addons { inherit pkgs lib; };
in {
imports = [ ./module.nix ];
2023-10-07 15:48:53 +02:00
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 ];
};
2024-01-08 17:39:58 +01:00
"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; };
2024-01-08 17:39:58 +01:00
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
};
2023-10-07 15:48:53 +02:00
};
}