infrastructure/machines/web01/wordpress/default.nix

20 lines
423 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 ];
};
};
};
}