infrastructure/machines/web01/wordpress/lavoixduntexte.nix

24 lines
495 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2023-10-07 15:48:53 +02:00
let
host = "lavoixduntexte.normalesup.eu";
2023-10-07 15:48:53 +02:00
addons = import ./addons { inherit pkgs lib; };
2023-10-07 15:48:53 +02:00
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 = { };
};
2023-10-07 15:48:53 +02:00
services.nginx.virtualHosts.${host} = {
enableACME = true;
forceSSL = true;
};
}