]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - modules/private/default.nix
Add cryptpad farm
[perso/Immae/Config/Nix.git] / modules / private / default.nix
CommitLineData
f8026b6e
IB
1let
2set = {
581c499c 3 # adatped from nixpkgs/nixos/modules/services/web-servers/apache-httpd/default.nix
6c97d2d7
IB
4 httpdInte = import ../websites/httpd-service-builder.nix { httpdName = "Inte"; withUsers = false; };
5 httpdProd = import ../websites/httpd-service-builder.nix { httpdName = "Prod"; withUsers = false; };
6 httpdTools = import ../websites/httpd-service-builder.nix { httpdName = "Tools"; withUsers = true; };
182ae57f
IB
7
8 databases = ./databases;
9 mariadb = ./databases/mariadb.nix;
10 openldap = ./databases/openldap;
11 postgresql = ./databases/postgresql.nix;
12 redis = ./databases/redis.nix;
ec9b6564 13 postgresqlReplication = ./databases/postgresql_replication.nix;
9f6a7862 14 mariadbReplication = ./databases/mariadb_replication.nix;
dded6699 15 redisReplication = ./databases/redis_replication.nix;
16b80abd 16 openldapReplication = ./databases/openldap_replication.nix;
ffb14c1c 17
f8026b6e 18 websites = ./websites;
ef118cb3 19 gemini = ./gemini;
d3452fc5
IB
20
21
22 # Personal websites
abd7458c
IB
23 bakeerCloud = ./websites/bakeer/cloud.nix;
24
d3452fc5
IB
25 capitainesLandingPages = ./websites/capitaines/landing_pages.nix;
26
f8026b6e
IB
27 chloeInte = ./websites/chloe/integration.nix;
28 chloeProd = ./websites/chloe/production.nix;
d3452fc5 29
6c7d42fc
IB
30 cipcaSympa = ./websites/cip-ca/sympa.nix;
31
f8026b6e
IB
32 connexionswingInte = ./websites/connexionswing/integration.nix;
33 connexionswingProd = ./websites/connexionswing/production.nix;
d3452fc5
IB
34
35 deniseDenisejeromeProd = ./websites/denise/denisejerome.nix;
36 deniseEvariste = ./websites/denise/evariste.nix;
a295d69f 37 deniseOMS = ./websites/denise/oms.nix;
f989f3ed 38 deniseAventuriers = ./websites/denise/aventuriers.nix;
a295d69f 39 deniseProduction = ./websites/denise/production.nix;
d3452fc5
IB
40
41 emiliaMoodle = ./websites/emilia/moodle.nix;
42
f8026b6e
IB
43 florianApp = ./websites/florian/app.nix;
44 florianInte = ./websites/florian/integration.nix;
45 florianProd = ./websites/florian/production.nix;
d3452fc5 46
f8026b6e
IB
47 immaeProd = ./websites/immae/production.nix;
48 immaeRelease = ./websites/immae/release.nix;
49 immaeTemp = ./websites/immae/temp.nix;
d3452fc5
IB
50
51 isabelleAtenInte = ./websites/isabelle/aten_integration.nix;
52 isabelleAtenProd = ./websites/isabelle/aten_production.nix;
53 isabelleIridologie = ./websites/isabelle/iridologie.nix;
54
55 jeromeNaturaloutil = ./websites/jerome/naturaloutil.nix;
56
f8026b6e 57 leilaProd = ./websites/leila/production.nix;
d3452fc5
IB
58
59 ludivineInte = ./websites/ludivine/integration.nix;
60 ludivineProd = ./websites/ludivine/production.nix;
61
f8026b6e 62 nassimeProd = ./websites/nassime/production.nix;
d3452fc5 63
87949cb9 64 nathVillon = ./websites/nath/villon.nix;
8722d693 65
9a414bd6 66 papaMaisonBbc = ./websites/papa/maison_bbc.nix;
f8026b6e 67 papaSurveillance = ./websites/papa/surveillance.nix;
d3452fc5 68
982dc1fa
IB
69 patrickFodellaProd = ./websites/patrick_fodella/production.nix;
70
f8026b6e
IB
71 piedsjalouxInte = ./websites/piedsjaloux/integration.nix;
72 piedsjalouxProd = ./websites/piedsjaloux/production.nix;
d3452fc5 73
54d97019
IB
74 ressourcerieBanonProd = ./websites/ressourcerie_banon/production.nix;
75 ressourcerieBanonCloud = ./websites/ressourcerie_banon/cloud.nix;
76 ressourcerieBanonCryptpad = ./websites/ressourcerie_banon/cryptpad.nix;
77
d3452fc5
IB
78 richieProd = ./websites/richie/production.nix;
79
8a05c7fb 80 sydenPeertube = ./websites/syden/peertube.nix;
f8026b6e 81
d3452fc5
IB
82 teliotortayProd = ./websites/telio_tortay/production.nix;
83
84 # Tools
4c42e0be 85 assetsTools = ./websites/tools/assets;
4288c2f2 86 cloudTool = ./websites/tools/cloud;
54d97019 87 cloudFarmTool = ./websites/tools/cloud/farm.nix;
8c91e92c
IB
88 cryptpadTool = ./websites/tools/cryptpad;
89 cryptpadFarmTool = ./websites/tools/cryptpad/farm.nix;
6338573a 90 commentoTool = ./websites/tools/commento;
4288c2f2 91 davTool = ./websites/tools/dav;
ea9c6fe8 92 vpnTool = ./websites/tools/vpn;
4288c2f2
IB
93 dbTool = ./websites/tools/db;
94 diasporaTool = ./websites/tools/diaspora;
95 etherTool = ./websites/tools/ether;
96 gitTool = ./websites/tools/git;
3f453c7d 97 imTool = ./websites/tools/im;
4288c2f2
IB
98 mastodonTool = ./websites/tools/mastodon;
99 mgoblinTool = ./websites/tools/mgoblin;
100 peertubeTool = ./websites/tools/peertube;
a97118c4 101 performanceTool = ./websites/tools/performance;
4288c2f2 102 toolsTool = ./websites/tools/tools;
afcc5de0 103 mailTool = ./websites/tools/mail;
4288c2f2 104
de6002a1
IB
105 # Games
106 codenamesGame = ./websites/tools/games/codenames;
f036e975 107 terraformingMarsGame = ./websites/tools/games/terraforming-mars;
de6002a1 108
a929614f 109 mail = ./mail;
a929614f 110
8d213e2b
IB
111 buildbot = ./buildbot;
112 certificates = ./certificates.nix;
113 gitolite = ./gitolite;
ffb14c1c 114 irc = ./irc.nix;
8d213e2b
IB
115 pub = ./pub;
116 tasks = ./tasks;
117 dns = ./dns.nix;
118 ftp = ./ftp.nix;
8d213e2b 119 mpd = ./mpd.nix;
3f453c7d 120 ejabberd = ./ejabberd;
8d213e2b 121 ssh = ./ssh;
3bc32d9e 122 monitoring = ./monitoring;
6e9f30f4 123 status = ./monitoring/status.nix;
a97118c4 124 status_engine = ./monitoring/status_engine.nix;
ea9c6fe8 125 vpn = ./vpn;
8d213e2b 126
ab8f306d 127 environment = ./environment.nix;
8d213e2b 128 system = ./system.nix;
7f286353 129 loginctl-linger = ./loginctl-linger.nix;
f8026b6e
IB
130};
131in
132builtins.listToAttrs (map (attr: { name = "priv${attr}"; value = set.${attr}; }) (builtins.attrNames set))