]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/mermet.nix
nix: update flake.lock
[sourcephile-nix.git] / hosts / mermet.nix
1 # NixOS configuration of mermet.sourcephile.fr
2 # Laurent Mermet (1955-2019), strategist for the environment
3 # https://www.iddri.org/fr/iddri-en-bref/la-vie-de-liddri/hommage-laurent-mermet
4 { inputs, ... }:
5 {
6 system = "x86_64-linux";
7 extraArgs = rec {
8 CPUs = 4;
9 ipv4 = "80.67.180.129";
10 wireguard = rec {
11 wg-intra = {
12 ipv4 = "192.168.42.1";
13 listenPort = 43642;
14 persistentKeepalive = null;
15 peer = {
16 publicKey = "XbTEP2X71LBTjmdmySdiOpQJ+uIomcXvg1aiQGUtWBI=";
17 allowedIPs = [ "${wg-intra.ipv4}/32" ];
18 endpoint = "${ipv4}:${toString wg-intra.listenPort}";
19 };
20 };
21 };
22 };
23 modules = [
24 ../nixos/defaults.nix
25 mermet/acme.nix
26 mermet/croc.nix
27 mermet/coturn.nix
28 mermet/debug.nix
29 mermet/dovecot.nix
30 mermet/fail2ban.nix
31 mermet/fileSystems.nix
32 mermet/gitolite.nix
33 mermet/hardware.nix
34 mermet/knot.nix
35 #mermet/mlmmj.nix
36 mermet/murmur.nix
37 mermet/networking.nix
38 mermet/nginx.nix
39 mermet/openldap.nix
40 mermet/postfix.nix
41 mermet/prosody.nix
42 (inputs.secrets + "/hosts/mermet/prosody.nix")
43 mermet/public-inbox.nix
44 mermet/redis.nix
45 mermet/rspamd.nix
46 mermet/sanoid.nix
47 mermet/security.nix
48 mermet/system.nix
49 mermet/unbound.nix
50 mermet/users.nix
51 (inputs.secrets + "/hosts/mermet/users.nix")
52 ];
53 }