infrastructure/machines/web01/wordpress/default.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 ];
};
};
};
}