infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht c5aebedd7b
All checks were successful
build configuration / build_storage01 (push) Successful in 1m6s
build configuration / build_compute01 (push) Successful in 1m20s
build configuration / build_vault01 (push) Successful in 49s
build configuration / build_web02 (push) Successful in 47s
build configuration / build_web01 (push) Successful in 1m23s
lint / check (push) Successful in 23s
build configuration / build_rescue01 (push) Successful in 46s
feat(web01): Add backups
2024-02-21 22:55:10 +01: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.wp.dgnum.eu" = {
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.wp.dgnum.eu" = {
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
};
};
dgn-backups.jobs.containers.settings.paths = [ "/var/lib/nixos-containers" ];
}