# NixOS configuration of mermet.sourcephile.fr # Laurent Mermet (1955-2019), strategist for the environment # https://www.iddri.org/fr/iddri-en-bref/la-vie-de-liddri/hommage-laurent-mermet { flakes, ... }: { system = "x86_64-linux"; extraArgs = rec { ipv4 = "80.67.180.129"; wireguard = rec { wg-intranet = { ipv4 = "192.168.42.1"; listenPort = 43642; persistentKeepalive = null; peer = { publicKey = "XbTEP2X71LBTjmdmySdiOpQJ+uIomcXvg1aiQGUtWBI="; allowedIPs = [ "${wg-intranet.ipv4}/32" ]; endpoint = "${ipv4}:${toString wg-intranet.listenPort}"; }; }; }; }; modules = [ (flakes.nixpkgs + "/nixos/modules/profiles/hardened.nix") ../nixos/defaults.nix ../nixos/profiles/services/unbound.nix mermet/acme.nix mermet/croc.nix mermet/coturn.nix mermet/debug.nix mermet/dovecot.nix mermet/fail2ban.nix mermet/fileSystems.nix mermet/gitolite.nix mermet/hardware.nix mermet/knot.nix #mermet/mlmmj.nix mermet/networking.nix mermet/nginx.nix mermet/openldap.nix mermet/postfix.nix mermet/public-inbox.nix mermet/redis.nix mermet/rspamd.nix mermet/sanoid.nix mermet/security.nix mermet/system.nix mermet/users.nix (flakes.secrets + "/machines/mermet/users.nix") ]; }