forked from DGNum/infrastructure
35 lines
932 B
Nix
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 ];
|
|
};
|
|
};
|
|
};
|
|
}
|