infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht ccaa999adc
Some checks failed
Check meta / check_meta (push) Successful in 27s
Check meta / check_dns (push) Successful in 1m7s
build configuration / build_web02 (push) Successful in 1m23s
build configuration / build_compute01 (push) Successful in 2m2s
build configuration / build_storage01 (push) Successful in 2m3s
build configuration / build_vault01 (push) Successful in 2m10s
build configuration / build_rescue01 (push) Successful in 1m21s
lint / check (push) Successful in 28s
build configuration / build_geo01 (push) Successful in 1m20s
build configuration / build_geo02 (push) Successful in 1m17s
build configuration / build_bridge01 (push) Successful in 1m20s
build configuration / build_web01 (push) Successful in 3m33s
build configuration / push_to_cache_web02 (push) Successful in 1m32s
build configuration / push_to_cache_geo01 (push) Failing after 36s
build configuration / push_to_cache_rescue01 (push) Failing after 47s
build configuration / push_to_cache_geo02 (push) Failing after 38s
build configuration / push_to_cache_compute01 (push) Successful in 1m46s
build configuration / push_to_cache_bridge01 (push) Failing after 34s
build configuration / push_to_cache_web01 (push) Failing after 35s
build configuration / push_to_cache_storage01 (push) Successful in 1m36s
feat(wordpress): Prepare the migration
2024-08-30 10:08:12 +02:00

68 lines
1.4 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.wp.dgnum.eu" = {
themes = {
inherit (wp4nix.themes) gateway twentytwentythree;
};
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" ];
}