]> Git — Sourcephile - sourcephile-nix.git/blob - machines/losurdo.nix
coturn: install on mermet (for prosody)
[sourcephile-nix.git] / machines / losurdo.nix
1 # NixOS configuration of losurdo.sourcephile.fr
2 #
3 # Show configuration options with, for example:
4 # nix-instantiate machines/losurdo.nix --eval -A config.networking.hostName
5 # or:
6 # nix eval machines.losurdo.networking.hostName
7 # Install/upgrade with:
8 # nix run machines.losurdo.installer.ssh-nixos
9 {
10 system = "x86_64-linux";
11 extraArgs = {
12 ipv4 = "80.67.180.251";
13 wireguard = rec {
14 wg-intranet = {
15 ipv4 = "192.168.42.2";
16 listenPort = 43642;
17 #listenPort = null;
18 persistentKeepalive = 25;
19 peer = {
20 publicKey = "xsFFep3k8z0pXgUOz4aryOF8l/KPBSOd4WQA26BkXy0=";
21 allowedIPs = [ "${wg-intranet.ipv4}/32" ];
22 };
23 };
24 };
25 };
26 modules = [
27 ../nixos/defaults.nix
28 ../nixos/profiles/services/unbound.nix
29 losurdo/acme.nix
30 losurdo/debug.nix
31 losurdo/fail2ban.nix
32 losurdo/fileSystems.nix
33 losurdo/hardware.nix
34 losurdo/networking.nix
35 losurdo/nginx.nix
36 losurdo/postgresql.nix
37 losurdo/prosody.nix
38 losurdo/sanoid.nix
39 losurdo/security.nix
40 losurdo/syncoid.nix
41 losurdo/system.nix
42 losurdo/transmission.nix
43 losurdo/users.nix
44 ];
45 }