adding providers.nix
The file providers.nix specify upstream endpoints for reverse proxy rules.
This commit is contained in:
parent
b5b9941560
commit
1a151d6cf4
2 changed files with 9 additions and 0 deletions
|
@ -9,4 +9,5 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
shell = import ./shell.nix { inherit pkgs; };
|
shell = import ./shell.nix { inherit pkgs; };
|
||||||
|
providers = import ./providers.nix;
|
||||||
}
|
}
|
||||||
|
|
8
providers.nix
Normal file
8
providers.nix
Normal 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
|
Loading…
Reference in a new issue