1 { pkgs, lib, config, hostName, private, ... }:
3 networking.hosts."192.168.42.2" = [
5 "builds.sourcephile.wg"
6 "dispatch.sourcephile.wg"
10 "lists.sourcephile.wg"
13 "pages.sourcephile.wg"
14 "paste.sourcephile.wg"
21 after = ["wireguard-${iface}.service"];
22 serviceConfig.Restart = "on-failure";
25 services.openssh.listenAddresses = map (ip: {addr=lib.removeSuffix "/32" ip;}) peer.allowedIPs;