infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht 16f47ce227
All checks were successful
build configuration / build_web02 (push) Successful in 1m37s
build configuration / build_compute01 (push) Successful in 1m40s
build configuration / build_vault01 (push) Successful in 1m39s
build configuration / build_rescue01 (push) Successful in 1m40s
build configuration / build_storage01 (push) Successful in 1m41s
lint / check (push) Successful in 32s
build configuration / build_web01 (push) Successful in 2m53s
build configuration / build_geo01 (push) Successful in 1m21s
build configuration / build_geo02 (push) Successful in 1m26s
build configuration / build_bridge01 (push) Successful in 1m32s
build configuration / push_to_cache_web02 (push) Successful in 1m53s
build configuration / push_to_cache_compute01 (push) Successful in 1m43s
build configuration / push_to_cache_storage01 (push) Successful in 1m44s
build configuration / push_to_cache_rescue01 (push) Successful in 1m43s
build configuration / push_to_cache_geo01 (push) Successful in 1m29s
build configuration / push_to_cache_geo02 (push) Successful in 1m18s
build configuration / push_to_cache_bridge01 (push) Successful in 1m16s
build configuration / push_to_cache_web01 (push) Successful in 2m23s
feat(wordpress): Finish the migration of the BDS website
2024-08-31 00:36:19 +02:00

56 lines
1.2 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" ];
}