From 1a151d6cf48acf9eef18f4600ebb6cce2f3b4786 Mon Sep 17 00:00:00 2001 From: sinavir Date: Fri, 20 Oct 2023 17:20:46 +0200 Subject: [PATCH] adding providers.nix The file providers.nix specify upstream endpoints for reverse proxy rules. --- default.nix | 1 + providers.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 providers.nix diff --git a/default.nix b/default.nix index 75cd978..c97e9c9 100644 --- a/default.nix +++ b/default.nix @@ -9,4 +9,5 @@ ''; }; shell = import ./shell.nix { inherit pkgs; }; + providers = import ./providers.nix; } diff --git a/providers.nix b/providers.nix new file mode 100644 index 0000000..5642d6f --- /dev/null +++ b/providers.nix @@ -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