2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-01-09 15:51:36 +01:00
|
|
|
{ pkgs, sources, ... }:
|
2023-10-07 15:48:53 +02:00
|
|
|
|
2024-02-02 10:51:31 +01:00
|
|
|
let
|
|
|
|
wp4nix = pkgs.callPackage sources.wp4nix { };
|
|
|
|
in
|
|
|
|
{
|
2024-01-07 10:26:47 +01:00
|
|
|
imports = [ ./module.nix ];
|
2023-10-07 15:48:53 +02:00
|
|
|
|
2024-01-07 10:26:47 +01:00
|
|
|
services.wp-containers = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
sites = {
|
|
|
|
"lavoixduntexte.normalesup.eu" = {
|
2024-02-02 10:51:31 +01:00
|
|
|
themes = {
|
|
|
|
inherit (wp4nix.themes) avant;
|
|
|
|
};
|
2024-01-07 10:26:47 +01:00
|
|
|
|
2024-02-02 10:51:31 +01:00
|
|
|
plugins = {
|
2024-02-06 20:37:31 +01:00
|
|
|
inherit (wp4nix.plugins) user-role-editor;
|
2024-02-02 10:51:31 +01:00
|
|
|
};
|
2024-01-07 10:26:47 +01:00
|
|
|
|
|
|
|
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
|
|
|
|
};
|
2024-01-08 17:39:58 +01:00
|
|
|
|
2024-08-30 10:08:08 +02:00
|
|
|
"bds.ens.fr" = {
|
|
|
|
themes = {
|
|
|
|
inherit (wp4nix.themes) gateway twentytwentythree;
|
|
|
|
};
|
|
|
|
|
|
|
|
plugins = {
|
|
|
|
inherit (wp4nix.plugins) user-role-editor;
|
|
|
|
};
|
|
|
|
|
|
|
|
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
|
|
|
|
};
|
|
|
|
|
2024-02-06 13:20:09 +01:00
|
|
|
"bda.ens.fr" = {
|
2024-02-02 10:51:31 +01:00
|
|
|
plugins = {
|
|
|
|
inherit (wp4nix.plugins) user-role-editor;
|
|
|
|
};
|
2024-02-06 20:37:31 +01:00
|
|
|
|
2024-01-09 09:11:11 +01:00
|
|
|
languages = [ pkgs.wordpressPackages.languages.fr_FR ];
|
|
|
|
};
|
|
|
|
|
2024-05-18 16:47:54 +02:00
|
|
|
"cineclub.ens.fr" = {
|
2024-02-02 10:51:31 +01:00
|
|
|
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 ];
|
|
|
|
};
|
2024-01-07 10:26:47 +01:00
|
|
|
};
|
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" ];
|
2024-09-01 15:48:35 +02:00
|
|
|
|
|
|
|
services.nginx.virtualHosts."bds.ens.fr".locations."/gestion2".return = "301 https://gestion.bds.ens.fr";
|
2023-10-07 15:48:53 +02:00
|
|
|
}
|