infrastructure/machines/web01/wordpress/default.nix
Tom Hubrecht 6b7ed1de5f
All checks were successful
build configuration / build_vault01 (push) Successful in 53s
build configuration / build_web02 (push) Successful in 53s
build configuration / build_storage01 (push) Successful in 55s
build configuration / build_compute01 (push) Successful in 1m17s
build configuration / build_web01 (push) Successful in 1m31s
npins update / npins_update (push) Successful in 1m47s
ds-fr update / npins_update (push) Successful in 2m0s
feat(wordpress): Add theme for bds
2024-01-22 12:46:43 +01:00

36 lines
1,007 B
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) wordpress-importer; };
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"bds.wp.dgnum.eu" = {
plugins = { inherit (wp4nix.plugins) user-role-editor; };
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
themes = { inherit (wp4nix.themes) gateway twentytwentythree; };
};
"bda.wp.dgnum.eu" = {
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 ];
};
};
};
}