]> git.immae.eu Git - perso/Immae/Config/Nix.git/blame - modules/private/default.nix
Reduce number of postgresql backups
[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;
d3452fc5
IB
19
20
21 # Personal websites
22 capitainesLandingPages = ./websites/capitaines/landing_pages.nix;
23
f8026b6e
IB
24 chloeInte = ./websites/chloe/integration.nix;
25 chloeProd = ./websites/chloe/production.nix;
d3452fc5 26
6c7d42fc
IB
27 cipcaSympa = ./websites/cip-ca/sympa.nix;
28
f8026b6e
IB
29 connexionswingInte = ./websites/connexionswing/integration.nix;
30 connexionswingProd = ./websites/connexionswing/production.nix;
d3452fc5
IB
31
32 deniseDenisejeromeProd = ./websites/denise/denisejerome.nix;
33 deniseEvariste = ./websites/denise/evariste.nix;
a295d69f 34 deniseOMS = ./websites/denise/oms.nix;
f989f3ed 35 deniseAventuriers = ./websites/denise/aventuriers.nix;
a295d69f 36 deniseProduction = ./websites/denise/production.nix;
d3452fc5
IB
37
38 emiliaMoodle = ./websites/emilia/moodle.nix;
39
f8026b6e
IB
40 florianApp = ./websites/florian/app.nix;
41 florianInte = ./websites/florian/integration.nix;
42 florianProd = ./websites/florian/production.nix;
d3452fc5 43
f8026b6e
IB
44 immaeProd = ./websites/immae/production.nix;
45 immaeRelease = ./websites/immae/release.nix;
46 immaeTemp = ./websites/immae/temp.nix;
d3452fc5
IB
47
48 isabelleAtenInte = ./websites/isabelle/aten_integration.nix;
49 isabelleAtenProd = ./websites/isabelle/aten_production.nix;
50 isabelleIridologie = ./websites/isabelle/iridologie.nix;
51
52 jeromeNaturaloutil = ./websites/jerome/naturaloutil.nix;
53
f8026b6e 54 leilaProd = ./websites/leila/production.nix;
d3452fc5
IB
55
56 ludivineInte = ./websites/ludivine/integration.nix;
57 ludivineProd = ./websites/ludivine/production.nix;
58
f8026b6e 59 nassimeProd = ./websites/nassime/production.nix;
d3452fc5 60
8722d693
IB
61 nathanaelVillon = ./websites/nathanael/villon.nix;
62
9a414bd6 63 papaMaisonBbc = ./websites/papa/maison_bbc.nix;
f8026b6e 64 papaSurveillance = ./websites/papa/surveillance.nix;
d3452fc5 65
f8026b6e
IB
66 piedsjalouxInte = ./websites/piedsjaloux/integration.nix;
67 piedsjalouxProd = ./websites/piedsjaloux/production.nix;
d3452fc5
IB
68
69 richieProd = ./websites/richie/production.nix;
70
8a05c7fb 71 sydenPeertube = ./websites/syden/peertube.nix;
f8026b6e 72
d3452fc5
IB
73 teliotortayProd = ./websites/telio_tortay/production.nix;
74
75 # Tools
4c42e0be 76 assetsTools = ./websites/tools/assets;
4288c2f2 77 cloudTool = ./websites/tools/cloud;
6338573a 78 commentoTool = ./websites/tools/commento;
4288c2f2 79 davTool = ./websites/tools/dav;
ea9c6fe8 80 vpnTool = ./websites/tools/vpn;
4288c2f2
IB
81 dbTool = ./websites/tools/db;
82 diasporaTool = ./websites/tools/diaspora;
83 etherTool = ./websites/tools/ether;
84 gitTool = ./websites/tools/git;
3f453c7d 85 imTool = ./websites/tools/im;
4288c2f2
IB
86 mastodonTool = ./websites/tools/mastodon;
87 mgoblinTool = ./websites/tools/mgoblin;
88 peertubeTool = ./websites/tools/peertube;
a97118c4 89 performanceTool = ./websites/tools/performance;
4288c2f2 90 toolsTool = ./websites/tools/tools;
afcc5de0 91 mailTool = ./websites/tools/mail;
4288c2f2 92
de6002a1
IB
93 # Games
94 codenamesGame = ./websites/tools/games/codenames;
95
a929614f 96 mail = ./mail;
a929614f 97
8d213e2b
IB
98 buildbot = ./buildbot;
99 certificates = ./certificates.nix;
100 gitolite = ./gitolite;
ffb14c1c 101 irc = ./irc.nix;
8d213e2b
IB
102 pub = ./pub;
103 tasks = ./tasks;
104 dns = ./dns.nix;
105 ftp = ./ftp.nix;
8d213e2b 106 mpd = ./mpd.nix;
3f453c7d 107 ejabberd = ./ejabberd;
8d213e2b 108 ssh = ./ssh;
3bc32d9e 109 monitoring = ./monitoring;
6e9f30f4 110 status = ./monitoring/status.nix;
a97118c4 111 status_engine = ./monitoring/status_engine.nix;
ea9c6fe8 112 vpn = ./vpn;
8d213e2b 113
ab8f306d 114 environment = ./environment.nix;
8d213e2b 115 system = ./system.nix;
7f286353 116 loginctl-linger = ./loginctl-linger.nix;
f8026b6e
IB
117};
118in
119builtins.listToAttrs (map (attr: { name = "priv${attr}"; value = set.${attr}; }) (builtins.attrNames set))