324c37f884
All checks were successful
Check meta / check_dns (push) Successful in 21s
Check meta / check_meta (push) Successful in 21s
Build all the nodes / ap01 (push) Successful in 1m22s
Build all the nodes / geo01 (push) Successful in 1m57s
Build all the nodes / bridge01 (push) Successful in 2m10s
Build all the nodes / compute01 (push) Successful in 2m31s
Build all the nodes / hypervisor01 (push) Successful in 2m17s
Build all the nodes / netcore02 (push) Successful in 32s
Build all the nodes / geo02 (push) Successful in 2m23s
Build all the nodes / hypervisor02 (push) Successful in 1m41s
Build all the nodes / hypervisor03 (push) Successful in 1m48s
Build all the nodes / rescue01 (push) Successful in 2m13s
Build all the nodes / web02 (push) Successful in 1m58s
Build all the nodes / vault01 (push) Successful in 2m21s
Build all the nodes / storage01 (push) Successful in 2m29s
Run pre-commit on all files / pre-commit (push) Successful in 37s
Build all the nodes / web01 (push) Successful in 3m0s
Build all the nodes / web03 (push) Successful in 1m36s
71 lines
1.5 KiB
Nix
71 lines
1.5 KiB
Nix
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
_:
|
|
|
|
let
|
|
retiredHost = "retired.dgnum.eu";
|
|
|
|
mkSubs =
|
|
attrs:
|
|
builtins.concatLists (
|
|
builtins.attrValues (builtins.mapAttrs (domain: builtins.map (s: "${s}.${domain}")) attrs)
|
|
);
|
|
in
|
|
|
|
{
|
|
dgn-redirections = {
|
|
inherit retiredHost;
|
|
|
|
permanent = {
|
|
"calendrier.eleves.ens.fr" = "calendrier.dgnum.eu";
|
|
"docs.beta.rz.ens.wtf" = "pads.dgnum.eu";
|
|
"git.rz.ens.wtf" = "git.dgnum.eu";
|
|
"notion.rz.ens.wtf" = "docs.dgnum.eu";
|
|
"nuage.beta.rz.ens.wtf" = "cloud.dgnum.eu";
|
|
"rdv.dgnum.eu" = "meet.dgnum.eu";
|
|
"www.bda.ens.fr" = "bda.ens.fr";
|
|
"bda.wp.dgnum.eu" = "bda.ens.fr";
|
|
"www.cineclub.ens.fr" = "cineclub.ens.fr";
|
|
"cineclub.wp.dgnum.eu" = "cineclub.ens.fr";
|
|
"www.bds.ens.fr" = "bds.ens.fr";
|
|
"bds.wp.dgnum.eu" = "bds.ens.fr";
|
|
"www.tuteurs.ens.fr" = "tuteurs.ens.fr";
|
|
"www.interq.ens.fr" = "interq.ens.fr";
|
|
};
|
|
|
|
temporary =
|
|
{
|
|
};
|
|
|
|
retired = mkSubs {
|
|
"ens.fr" = [
|
|
"alevins"
|
|
"www.climatenavigator"
|
|
];
|
|
|
|
"ens.wtf" = [ "photos" ];
|
|
|
|
"rz.ens.wtf" = [
|
|
"s3"
|
|
"cdn"
|
|
];
|
|
|
|
"beta.rz.ens.wtf" = [
|
|
"todo"
|
|
"minecraft"
|
|
"factorio"
|
|
"home"
|
|
"pads"
|
|
"api.pads"
|
|
"files.pads"
|
|
"sandbox.pads"
|
|
"jurisprudens"
|
|
"rstudio"
|
|
];
|
|
};
|
|
};
|
|
|
|
services.nginx.virtualHosts.${retiredHost}.default = true;
|
|
}
|