forked from DGNum/infrastructure
24 lines
525 B
Nix
24 lines
525 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" = {
|
|
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
|
|
};
|
|
};
|
|
};
|
|
}
|