infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht bdc23df66c
All checks were successful
build configuration / build_storage01 (push) Successful in 52s
build configuration / build_compute01 (push) Successful in 1m18s
build configuration / build_web01 (push) Successful in 2m18s
feat(wordpress): Another one
2024-01-08 17:39:58 +01:00

24 lines
525 B
Nix

{ pkgs, lib, ... }:
let addons = import ./addons { inherit pkgs lib; };
in {
imports = [ ./module.nix ];
services.wp-containers = {
enable = true;
sites = {
"lavoixduntexte.normalesup.eu" = {
themes = { inherit (addons.themes) avant; };
plugins = { inherit (addons.plugins) wordpress-importer; };
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"bds.wp.dgnum.eu" = {
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
};
};
}