mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
delete eol modules
This commit is contained in:
parent
97ee21d864
commit
8510811c07
3 changed files with 0 additions and 153 deletions
|
@ -1,32 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.luj.bruit;
|
||||
port = 3500;
|
||||
in
|
||||
{
|
||||
|
||||
options.luj.bruit = {
|
||||
|
||||
enable = mkEnableOption "activate bruit monitoring";
|
||||
|
||||
nginx.enable = mkEnableOption "activate nginx";
|
||||
nginx.subdomain = mkOption {
|
||||
type = types.str;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (
|
||||
mkMerge [{
|
||||
services.grafana.enable = true;
|
||||
services.grafana.settings.server.http_port = port;
|
||||
luj.influxdb.enable = true;
|
||||
luj.influxdb.nginx = {
|
||||
enable = true;
|
||||
subdomain = "influxdb";
|
||||
};
|
||||
}
|
||||
|
||||
(mkIf cfg.nginx.enable (mkSubdomain cfg.nginx.subdomain port))]);
|
||||
|
||||
}
|
|
@ -1,88 +0,0 @@
|
|||
{
|
||||
"calendars": {
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/LLWm8qK9iC5YGrrR": {
|
||||
"name": "Délégation Générale",
|
||||
"short_name": "DG"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/2KGkWzBJGorxzyTW": {
|
||||
"name": "La Nuit de l'ENS",
|
||||
"short_name": "La Nuit"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/w442JdS5AaQ6czrP": {
|
||||
"name": "Écriv'ENS"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/fRtjDkjrZyn6fxd8": {
|
||||
"name": "K-Fêt",
|
||||
"color": "#c63b52",
|
||||
"default_location": "K-Fêt"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/gsZtZK8c9EmREofn": {
|
||||
"name": "Ernestophone"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/dTHrXnYgsEoSTjWB": {
|
||||
"name": "Évènements (COF)",
|
||||
"short_name": "COF"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/bCgRFByHLiCCNc55": {
|
||||
"name": "Assemblées Générales (COF)",
|
||||
"short_name": "AG COF"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/r4yJZDHjwNtH8wkR": {
|
||||
"name": "BdA"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/ZtWm3MYSi388k2yk": {
|
||||
"name": "DDR"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/T5WoHbs4FT5A945Z": {
|
||||
"name": "CinéClub"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/6SHG6cg9d7S3qqwD": {
|
||||
"name": "Club Inutile ☔",
|
||||
"initial": false
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/TFjE83ASCMK9rfRi": {
|
||||
"name": "BandarrêtdurgENS",
|
||||
"short_name": "Banda"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/r4yJZDHjwNtH8wkR": {
|
||||
"name": "Évènements (BdA)"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/83AkowSYPnYrjSFr": {
|
||||
"name": "Spectacles du tirage BdA"
|
||||
},
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/kR8fMzmf4ciop9Je": {
|
||||
"name": "Club Jeux",
|
||||
"color": "#5f9ae0"
|
||||
},
|
||||
|
||||
|
||||
|
||||
"https://framagenda.org/remote.php/dav/public-calendars/iXGysEGxo7EsKjwG": {
|
||||
"name": "Ambassadeur·rice·s santé",
|
||||
"color": "#f5a142"
|
||||
},
|
||||
"https://framagenda.org/remote.php/dav/public-calendars/AYNpoC674yAjEmRy": {
|
||||
"name": "L'Hômonerie"
|
||||
},
|
||||
|
||||
"https://cloud.eleves.ens.fr/remote.php/dav/public-calendars/TyMrLaPPDzT7yAGC": {
|
||||
"name": "BDS"
|
||||
},
|
||||
"https://nuage.beta.rz.ens.wtf/remote.php/dav/public-calendars/5WrcagPPARQ3BD87": {
|
||||
"name": "Club réseau",
|
||||
"default_location": "Cave d'hackENS"
|
||||
},
|
||||
"https://nuage.beta.rz.ens.wtf/remote.php/dav/public-calendars/TFEAKjAgNFQZpNjo": {
|
||||
"name": "HackENS",
|
||||
"default_location": "Cave d'hackENS"
|
||||
},
|
||||
"https://framagenda.org/remote.php/dav/public-calendars/TFjE83ASCMK9rfRi": {
|
||||
"name": "BandarrêtdurgENS",
|
||||
"short_name": "Banda"
|
||||
},
|
||||
"https://framagenda.org/remote.php/dav/public-calendars/T5WoHbs4FT5A945Z": {
|
||||
"name": "CinéClub"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
{ lib, pkgs, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.luj.linkal;
|
||||
port = 8443;
|
||||
in
|
||||
{
|
||||
|
||||
options.luj.linkal = {
|
||||
enable = mkEnableOption "activate linkal service";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
systemd.services.linkal = {
|
||||
description = "linkal";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig.Type = "simple";
|
||||
serviceConfig.ExecStart = "${pkgs.linkal}/bin/linkal --calendar-file ${./calendars.json}";
|
||||
};
|
||||
|
||||
|
||||
luj.nginx.enable = true;
|
||||
services.nginx.virtualHosts."calendar.ens.malka.sh" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString port}/";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue