forked from DGNum/infrastructure
36 lines
1,007 B
Nix
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 ];
|
|
};
|
|
};
|
|
};
|
|
}
|