infrastructure/machines/web01/wordpress/lavoixduntexte.nix
Tom Hubrecht acc2ee6fef feat(wordpress): Add lavoixduntexte
Add the website lavoixduntexte, as well as wrappers to create addons easily
2023-10-22 18:03:58 +02:00

23 lines
495 B
Nix

{ pkgs, lib, ... }:
let
host = "lavoixduntexte.normalesup.eu";
addons = import ./addons { inherit pkgs lib; };
in {
services.wordpress.sites.${host} = {
themes = { inherit (addons.themes) avant; };
plugins = { inherit (addons.plugins) wordpress-importer; };
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
database.tablePrefix = "wp_lvdt_";
settings = { };
};
services.nginx.virtualHosts.${host} = {
enableACME = true;
forceSSL = true;
};
}