]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet.nix
coturn: install on mermet (for prosody)
[sourcephile-nix.git] / machines / mermet.nix
1 # NixOS configuration of mermet.sourcephile.fr
2 #
3 # Show configuration options with, for example:
4 # nix-instantiate machines/mermet.nix --eval -A config.networking.hostName
5 # or:
6 # nix eval machines.mermet.networking.hostName
7 # Install/upgrade with:
8 # nix run machines.mermet.installer.ssh-nixos
9 {
10 system = "x86_64-linux";
11 extraArgs = rec {
12 ipv4 = "80.67.180.129";
13 wireguard = rec {
14 wg-intranet = {
15 ipv4 = "192.168.42.1";
16 listenPort = 43642;
17 persistentKeepalive = null;
18 peer = {
19 publicKey = "XbTEP2X71LBTjmdmySdiOpQJ+uIomcXvg1aiQGUtWBI=";
20 allowedIPs = [ "${wg-intranet.ipv4}/32" ];
21 endpoint = "${ipv4}:${toString wg-intranet.listenPort}";
22 };
23 };
24 };
25 };
26 modules = [
27 ../nixos/defaults.nix
28 ../nixos/profiles/services/unbound.nix
29 mermet/acme.nix
30 mermet/croc.nix
31 mermet/coturn.nix
32 mermet/debug.nix
33 mermet/dovecot.nix
34 mermet/fail2ban.nix
35 mermet/fileSystems.nix
36 mermet/gitolite.nix
37 mermet/hardware.nix
38 mermet/knot.nix
39 #mermet/mlmmj.nix
40 mermet/networking.nix
41 mermet/nginx.nix
42 mermet/openldap.nix
43 mermet/postfix.nix
44 mermet/public-inbox.nix
45 mermet/redis.nix
46 mermet/rspamd.nix
47 mermet/sanoid.nix
48 mermet/security.nix
49 #mermet/shorewall.nix
50 mermet/system.nix
51 mermet/users.nix
52 ];
53 }