]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - modules/private/default.nix
Migrate php sessions to redis
[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 7
a3ac9c84 8 coturn = ./coturn.nix;
182ae57f
IB
9 databases = ./databases;
10 mariadb = ./databases/mariadb.nix;
11 openldap = ./databases/openldap;
12 postgresql = ./databases/postgresql.nix;
13 redis = ./databases/redis.nix;
ec9b6564 14 postgresqlReplication = ./databases/postgresql_replication.nix;
9f6a7862 15 mariadbReplication = ./databases/mariadb_replication.nix;
dded6699 16 redisReplication = ./databases/redis_replication.nix;
16b80abd 17 openldapReplication = ./databases/openldap_replication.nix;
120bcf4d 18 chatonsProperties = ./chatons.nix;
ffb14c1c 19
f8026b6e 20 websites = ./websites;
ef118cb3 21 gemini = ./gemini;
d3452fc5
IB
22
23
24 # Personal websites
a58a80b2
IB
25 attilaxDolibarr = ./websites/attilax/dolibarr.nix;
26
abd7458c
IB
27 bakeerCloud = ./websites/bakeer/cloud.nix;
28
d3452fc5
IB
29 capitainesLandingPages = ./websites/capitaines/landing_pages.nix;
30
f8026b6e 31 chloeProd = ./websites/chloe/production.nix;
2ff9258e 32 chloeNew = ./websites/chloe/new.nix;
d3452fc5 33
5a412244
IB
34 christopheCarpentierWebsite = ./websites/christophe_carpentier/website.nix;
35 christopheCarpentierAgorakit = ./websites/christophe_carpentier/agorakit.nix;
36 christopheCarpentierAgoraProject = ./websites/christophe_carpentier/agora-project.nix;
37
6c7d42fc
IB
38 cipcaSympa = ./websites/cip-ca/sympa.nix;
39
f8026b6e
IB
40 connexionswingInte = ./websites/connexionswing/integration.nix;
41 connexionswingProd = ./websites/connexionswing/production.nix;
d3452fc5
IB
42
43 deniseDenisejeromeProd = ./websites/denise/denisejerome.nix;
44 deniseEvariste = ./websites/denise/evariste.nix;
a295d69f 45 deniseOMS = ./websites/denise/oms.nix;
2e573da3 46 deniseBingo = ./websites/denise/bingo.nix;
f989f3ed 47 deniseAventuriers = ./websites/denise/aventuriers.nix;
a295d69f 48 deniseProduction = ./websites/denise/production.nix;
d3452fc5
IB
49
50 emiliaMoodle = ./websites/emilia/moodle.nix;
c0c7c8b5 51 emiliaAtelierFringant = ./websites/emilia/atelierfringant.nix;
d3452fc5 52
f8026b6e
IB
53 florianApp = ./websites/florian/app.nix;
54 florianInte = ./websites/florian/integration.nix;
55 florianProd = ./websites/florian/production.nix;
d3452fc5 56
f8026b6e
IB
57 immaeProd = ./websites/immae/production.nix;
58 immaeRelease = ./websites/immae/release.nix;
59 immaeTemp = ./websites/immae/temp.nix;
568bfa04 60 immaeDolibarr = ./websites/immae/dolibarr.nix;
d3452fc5
IB
61
62 isabelleAtenInte = ./websites/isabelle/aten_integration.nix;
63 isabelleAtenProd = ./websites/isabelle/aten_production.nix;
64 isabelleIridologie = ./websites/isabelle/iridologie.nix;
65
66 jeromeNaturaloutil = ./websites/jerome/naturaloutil.nix;
67
f8026b6e 68 leilaProd = ./websites/leila/production.nix;
d3452fc5 69
5c9a5ec7
IB
70 librezoCloud = ./websites/librezo/nextcloud.nix;
71 librezoDolibarr = ./websites/librezo/dolibarr.nix;
72 librezoDolibarrDev = ./websites/librezo/dolibarr_integration.nix;
73 librezoWebsite = ./websites/librezo/website.nix;
74
d3452fc5
IB
75 ludivineInte = ./websites/ludivine/integration.nix;
76 ludivineProd = ./websites/ludivine/production.nix;
77
f8026b6e 78 nassimeProd = ./websites/nassime/production.nix;
d3452fc5 79
965b61c2
IB
80 nicecoopGestionCompte = ./websites/nicecoop/gestion-compte.nix;
81 nicecoopGestionCompteIntegration = ./websites/nicecoop/gestion-compte_integration.nix;
82 nicecoopOdoo = ./websites/nicecoop/odoo.nix;
5e2c3306 83 nicecoopDolibarrDev = ./websites/nicecoop/dolibarr_integration.nix;
27da4e10 84 nicecoopCopanier = ./websites/nicecoop/copanier.nix;
965b61c2 85
76799447
IB
86 noctambulesCloud = ./websites/noctambules/cloud.nix;
87
9a414bd6 88 papaMaisonBbc = ./websites/papa/maison_bbc.nix;
f8026b6e 89 papaSurveillance = ./websites/papa/surveillance.nix;
d3452fc5 90
305922df
IB
91 patrickFodellaEcolyeu = ./websites/patrick_fodella/ecolyeu.nix;
92 patrickFodellaAltermondia = ./websites/patrick_fodella/altermondia.nix;
982dc1fa 93
f8026b6e
IB
94 piedsjalouxInte = ./websites/piedsjaloux/integration.nix;
95 piedsjalouxProd = ./websites/piedsjaloux/production.nix;
d3452fc5 96
54d97019
IB
97 ressourcerieBanonProd = ./websites/ressourcerie_banon/production.nix;
98 ressourcerieBanonCloud = ./websites/ressourcerie_banon/cloud.nix;
99 ressourcerieBanonCryptpad = ./websites/ressourcerie_banon/cryptpad.nix;
100
d3452fc5
IB
101 richieProd = ./websites/richie/production.nix;
102
8a05c7fb 103 sydenPeertube = ./websites/syden/peertube.nix;
f8026b6e 104
d3452fc5
IB
105 teliotortayProd = ./websites/telio_tortay/production.nix;
106
107 # Tools
4c42e0be 108 assetsTools = ./websites/tools/assets;
4288c2f2 109 cloudTool = ./websites/tools/cloud;
54d97019 110 cloudFarmTool = ./websites/tools/cloud/farm.nix;
8c91e92c
IB
111 cryptpadTool = ./websites/tools/cryptpad;
112 cryptpadFarmTool = ./websites/tools/cryptpad/farm.nix;
6338573a 113 commentoTool = ./websites/tools/commento;
4288c2f2 114 davTool = ./websites/tools/dav;
ea9c6fe8 115 vpnTool = ./websites/tools/vpn;
4288c2f2
IB
116 dbTool = ./websites/tools/db;
117 diasporaTool = ./websites/tools/diaspora;
118 etherTool = ./websites/tools/ether;
119 gitTool = ./websites/tools/git;
3f453c7d 120 imTool = ./websites/tools/im;
4288c2f2
IB
121 mastodonTool = ./websites/tools/mastodon;
122 mgoblinTool = ./websites/tools/mgoblin;
123 peertubeTool = ./websites/tools/peertube;
a97118c4 124 performanceTool = ./websites/tools/performance;
4288c2f2 125 toolsTool = ./websites/tools/tools;
afcc5de0 126 mailTool = ./websites/tools/mail;
a565d58b 127 statsTool = ./websites/tools/stats;
bdaca01e 128 visioTool = ./websites/tools/visio;
c1767d2e 129 kanboadFarmTool = ./websites/tools/kanboard/farm.nix;
4288c2f2 130
de6002a1
IB
131 # Games
132 codenamesGame = ./websites/tools/games/codenames;
f036e975 133 terraformingMarsGame = ./websites/tools/games/terraforming-mars;
de6002a1 134
a929614f 135 mail = ./mail;
a929614f 136
8d213e2b
IB
137 buildbot = ./buildbot;
138 certificates = ./certificates.nix;
139 gitolite = ./gitolite;
ffb14c1c 140 irc = ./irc.nix;
8d213e2b
IB
141 pub = ./pub;
142 tasks = ./tasks;
143 dns = ./dns.nix;
144 ftp = ./ftp.nix;
8d213e2b 145 mpd = ./mpd.nix;
3f453c7d 146 ejabberd = ./ejabberd;
8d213e2b 147 ssh = ./ssh;
3bc32d9e 148 monitoring = ./monitoring;
6e9f30f4 149 status = ./monitoring/status.nix;
a97118c4 150 status_engine = ./monitoring/status_engine.nix;
ea9c6fe8 151 vpn = ./vpn;
8d213e2b 152
ab8f306d 153 environment = ./environment.nix;
8d213e2b 154 system = ./system.nix;
7f286353 155 loginctl-linger = ./loginctl-linger.nix;
f8026b6e
IB
156};
157in
158builtins.listToAttrs (map (attr: { name = "priv${attr}"; value = set.${attr}; }) (builtins.attrNames set))