infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht 86c1018dc8
All checks were successful
build configuration / build_web02 (push) Successful in 1m43s
build configuration / build_rescue01 (push) Successful in 1m43s
build configuration / build_storage01 (push) Successful in 1m45s
build configuration / build_compute01 (push) Successful in 1m49s
build configuration / build_vault01 (push) Successful in 1m50s
lint / check (push) Successful in 32s
build configuration / build_web01 (push) Successful in 2m24s
build configuration / build_geo02 (push) Successful in 1m22s
build configuration / build_bridge01 (push) Successful in 1m21s
build configuration / build_geo01 (push) Successful in 1m31s
build configuration / push_to_cache_rescue01 (push) Successful in 1m48s
build configuration / push_to_cache_web02 (push) Successful in 1m42s
build configuration / push_to_cache_storage01 (push) Successful in 1m42s
build configuration / push_to_cache_geo02 (push) Successful in 1m24s
build configuration / push_to_cache_bridge01 (push) Successful in 1m28s
build configuration / push_to_cache_compute01 (push) Successful in 2m25s
build configuration / push_to_cache_geo01 (push) Successful in 1m31s
build configuration / push_to_cache_web01 (push) Successful in 2m26s
fix(web01): Add a redirection from bds.ens.fr/gestion2 to its new location
2024-09-01 15:48:35 +02:00

58 lines
1.3 KiB
Nix

{ pkgs, sources, ... }:
let
wp4nix = pkgs.callPackage sources.wp4nix { };
in
{
imports = [ ./module.nix ];
services.wp-containers = {
enable = true;
sites = {
"lavoixduntexte.normalesup.eu" = {
themes = {
inherit (wp4nix.themes) avant;
};
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"bds.ens.fr" = {
themes = {
inherit (wp4nix.themes) gateway twentytwentythree;
};
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"bda.ens.fr" = {
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"cineclub.ens.fr" = {
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
};
};
dgn-backups.jobs.containers.settings.paths = [ "/var/lib/nixos-containers" ];
services.nginx.virtualHosts."bds.ens.fr".locations."/gestion2".return = "301 https://gestion.bds.ens.fr";
}