]> Git — Sourcephile - sourcephile-nix.git/blob - machines/mermet.nix
wireguard: setup intranet
[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 config.installer.ssh-nixos -f machines/mermet.nix
9 # or:
10 # nix run machines.mermet.installer.ssh-nixos
11 {
12 system = "x86_64-linux";
13 extraArgs = {
14 ipv4 = "80.67.180.129";
15 wireguard = {
16 wg-intranet = {
17 ipv4 = "192.168.42.1";
18 peer = { publicKey = "XbTEP2X71LBTjmdmySdiOpQJ+uIomcXvg1aiQGUtWBI="; };
19 };
20 };
21 };
22 modules = [
23 ../nixos/defaults.nix
24 ../nixos/profiles/services/unbound.nix
25 mermet/acme.nix
26 mermet/croc.nix
27 mermet/debug.nix
28 mermet/dovecot.nix
29 mermet/fail2ban.nix
30 mermet/fileSystems.nix
31 mermet/gitolite.nix
32 mermet/hardware.nix
33 mermet/knot.nix
34 #mermet/mlmmj.nix
35 mermet/networking.nix
36 mermet/nginx.nix
37 mermet/openldap.nix
38 mermet/postfix.nix
39 mermet/public-inbox.nix
40 mermet/redis.nix
41 mermet/rspamd.nix
42 mermet/sanoid.nix
43 mermet/security.nix
44 #mermet/shorewall.nix
45 mermet/system.nix
46 mermet/users.nix
47 ];
48 }