]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - modules/private/default.nix
Add new Patrick website and reorganise files
[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;
2e573da3 38 deniseBingo = ./websites/denise/bingo.nix;
f989f3ed 39 deniseAventuriers = ./websites/denise/aventuriers.nix;
a295d69f 40 deniseProduction = ./websites/denise/production.nix;
d3452fc5
IB
41
42 emiliaMoodle = ./websites/emilia/moodle.nix;
c0c7c8b5 43 emiliaAtelierFringant = ./websites/emilia/atelierfringant.nix;
d3452fc5 44
f8026b6e
IB
45 florianApp = ./websites/florian/app.nix;
46 florianInte = ./websites/florian/integration.nix;
47 florianProd = ./websites/florian/production.nix;
d3452fc5 48
f8026b6e
IB
49 immaeProd = ./websites/immae/production.nix;
50 immaeRelease = ./websites/immae/release.nix;
51 immaeTemp = ./websites/immae/temp.nix;
d3452fc5
IB
52
53 isabelleAtenInte = ./websites/isabelle/aten_integration.nix;
54 isabelleAtenProd = ./websites/isabelle/aten_production.nix;
55 isabelleIridologie = ./websites/isabelle/iridologie.nix;
56
57 jeromeNaturaloutil = ./websites/jerome/naturaloutil.nix;
58
f8026b6e 59 leilaProd = ./websites/leila/production.nix;
d3452fc5
IB
60
61 ludivineInte = ./websites/ludivine/integration.nix;
62 ludivineProd = ./websites/ludivine/production.nix;
63
f8026b6e 64 nassimeProd = ./websites/nassime/production.nix;
d3452fc5 65
87949cb9 66 nathVillon = ./websites/nath/villon.nix;
8722d693 67
9a414bd6 68 papaMaisonBbc = ./websites/papa/maison_bbc.nix;
f8026b6e 69 papaSurveillance = ./websites/papa/surveillance.nix;
d3452fc5 70
305922df
IB
71 patrickFodellaEcolyeu = ./websites/patrick_fodella/ecolyeu.nix;
72 patrickFodellaAltermondia = ./websites/patrick_fodella/altermondia.nix;
982dc1fa 73
f8026b6e
IB
74 piedsjalouxInte = ./websites/piedsjaloux/integration.nix;
75 piedsjalouxProd = ./websites/piedsjaloux/production.nix;
d3452fc5 76
54d97019
IB
77 ressourcerieBanonProd = ./websites/ressourcerie_banon/production.nix;
78 ressourcerieBanonCloud = ./websites/ressourcerie_banon/cloud.nix;
79 ressourcerieBanonCryptpad = ./websites/ressourcerie_banon/cryptpad.nix;
80
d3452fc5
IB
81 richieProd = ./websites/richie/production.nix;
82
8a05c7fb 83 sydenPeertube = ./websites/syden/peertube.nix;
f8026b6e 84
d3452fc5
IB
85 teliotortayProd = ./websites/telio_tortay/production.nix;
86
87 # Tools
4c42e0be 88 assetsTools = ./websites/tools/assets;
4288c2f2 89 cloudTool = ./websites/tools/cloud;
54d97019 90 cloudFarmTool = ./websites/tools/cloud/farm.nix;
8c91e92c
IB
91 cryptpadTool = ./websites/tools/cryptpad;
92 cryptpadFarmTool = ./websites/tools/cryptpad/farm.nix;
6338573a 93 commentoTool = ./websites/tools/commento;
4288c2f2 94 davTool = ./websites/tools/dav;
ea9c6fe8 95 vpnTool = ./websites/tools/vpn;
4288c2f2
IB
96 dbTool = ./websites/tools/db;
97 diasporaTool = ./websites/tools/diaspora;
98 etherTool = ./websites/tools/ether;
99 gitTool = ./websites/tools/git;
3f453c7d 100 imTool = ./websites/tools/im;
4288c2f2
IB
101 mastodonTool = ./websites/tools/mastodon;
102 mgoblinTool = ./websites/tools/mgoblin;
103 peertubeTool = ./websites/tools/peertube;
a97118c4 104 performanceTool = ./websites/tools/performance;
4288c2f2 105 toolsTool = ./websites/tools/tools;
afcc5de0 106 mailTool = ./websites/tools/mail;
a565d58b 107 statsTool = ./websites/tools/stats;
4288c2f2 108
de6002a1
IB
109 # Games
110 codenamesGame = ./websites/tools/games/codenames;
f036e975 111 terraformingMarsGame = ./websites/tools/games/terraforming-mars;
de6002a1 112
a929614f 113 mail = ./mail;
a929614f 114
8d213e2b
IB
115 buildbot = ./buildbot;
116 certificates = ./certificates.nix;
117 gitolite = ./gitolite;
ffb14c1c 118 irc = ./irc.nix;
8d213e2b
IB
119 pub = ./pub;
120 tasks = ./tasks;
121 dns = ./dns.nix;
122 ftp = ./ftp.nix;
8d213e2b 123 mpd = ./mpd.nix;
3f453c7d 124 ejabberd = ./ejabberd;
8d213e2b 125 ssh = ./ssh;
3bc32d9e 126 monitoring = ./monitoring;
6e9f30f4 127 status = ./monitoring/status.nix;
a97118c4 128 status_engine = ./monitoring/status_engine.nix;
ea9c6fe8 129 vpn = ./vpn;
8d213e2b 130
ab8f306d 131 environment = ./environment.nix;
8d213e2b 132 system = ./system.nix;
7f286353 133 loginctl-linger = ./loginctl-linger.nix;
f8026b6e
IB
134};
135in
136builtins.listToAttrs (map (attr: { name = "priv${attr}"; value = set.${attr}; }) (builtins.attrNames set))