]> Git — Sourcephile - sourcephile-nix.git/blob - machines/losurdo.nix
nix: move to flake.nix
[sourcephile-nix.git] / machines / losurdo.nix
1 # NixOS configuration of losurdo.sourcephile.fr
2 { flakes, ... }:
3 {
4 system = "x86_64-linux";
5 extraArgs = {
6 ipv4 = "80.67.180.251";
7 wireguard = rec {
8 wg-intranet = {
9 ipv4 = "192.168.42.2";
10 listenPort = 43642;
11 #listenPort = null;
12 persistentKeepalive = 25;
13 peer = {
14 publicKey = "xsFFep3k8z0pXgUOz4aryOF8l/KPBSOd4WQA26BkXy0=";
15 allowedIPs = [ "${wg-intranet.ipv4}/32" ];
16 };
17 };
18 };
19 };
20 modules = [
21 (flakes.nixpkgs + "/nixos/modules/profiles/hardened.nix")
22 ../nixos/defaults.nix
23 ../nixos/profiles/services/unbound.nix
24 losurdo/acme.nix
25 losurdo/debug.nix
26 losurdo/fail2ban.nix
27 losurdo/fileSystems.nix
28 losurdo/hardware.nix
29 losurdo/networking.nix
30 losurdo/nginx.nix
31 losurdo/postgresql.nix
32 losurdo/prosody.nix
33 (flakes.secrets + "/machines/losurdo/prosody.nix")
34 losurdo/sanoid.nix
35 losurdo/security.nix
36 losurdo/syncoid.nix
37 losurdo/system.nix
38 losurdo/transmission.nix
39 losurdo/users.nix
40 (flakes.secrets + "/machines/losurdo/users.nix")
41 ];
42 }