adding providers.nix

The file providers.nix specify upstream endpoints for reverse proxy rules.
This commit is contained in:
sinavir 2023-10-20 17:20:46 +02:00
parent b5b9941560
commit 1a151d6cf4
2 changed files with 9 additions and 0 deletions

View file

@ -9,4 +9,5 @@
'';
};
shell = import ./shell.nix { inherit pkgs; };
providers = import ./providers.nix;
}

8
providers.nix Normal file
View file

@ -0,0 +1,8 @@
let
providers = {
klub-reseau = "nuage.beta.rz.ens.wtf";
eleves-ens = "cloud.eleves.ens.fr";
frama-agenda = "framagenda.org";
};
in
builtins.mapAttrs (name: value: "https://${value}/remote.php/dav/public-calendars/") providers