infrastructure/machines/web01/wordpress/default.nix

57 lines
1.2 KiB
Nix
Raw Normal View History

{ pkgs, sources, ... }:
2023-10-07 15:48:53 +02:00
let
wp4nix = pkgs.callPackage sources.wp4nix { };
in
{
imports = [ ./module.nix ];
2023-10-07 15:48:53 +02:00
services.wp-containers = {
enable = true;
sites = {
"lavoixduntexte.normalesup.eu" = {
themes = {
inherit (wp4nix.themes) avant;
};
plugins = {
2024-02-06 20:37:31 +01:00
inherit (wp4nix.plugins) user-role-editor;
};
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
2024-01-08 17:39:58 +01:00
"bds.wp.dgnum.eu" = {
2024-02-06 20:37:31 +01:00
themes = {
inherit (wp4nix.themes) gateway twentytwentythree;
};
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
2024-02-06 20:37:31 +01:00
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
2024-02-06 13:20:09 +01:00
"bda.ens.fr" = {
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
2024-02-06 20:37:31 +01:00
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
"cineclub.wp.dgnum.eu" = {
plugins = {
inherit (wp4nix.plugins) user-role-editor;
};
2024-02-06 20:37:31 +01:00
2024-01-08 17:39:58 +01:00
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
};
};
2023-10-07 15:48:53 +02:00
};
2024-02-21 22:55:10 +01:00
dgn-backups.jobs.containers.settings.paths = [ "/var/lib/nixos-containers" ];
2023-10-07 15:48:53 +02:00
}