{ hostsMap , monitoringvpnKeyDir , publicIPv4 , monitoringvpnIPv4 , vpnClientIPs , nodeExporterTargets , nginxExporterTargets ? [] , stateVersion , ... }: { deployment.targetHost = publicIPv4; deployment.secrets = { "monitoringvpn-private-key".source = "${monitoringvpnKeyDir}/server.key"; "monitoringvpn-preshared-key".source = "${monitoringvpnKeyDir}/preshared.key"; }; networking.hosts = hostsMap; services.private-storage.monitoring.vpn.server = { enable = true; ip = monitoringvpnIPv4; inherit vpnClientIPs; pubKeysPath = monitoringvpnKeyDir; }; services.private-storage.monitoring.prometheus = { inherit nodeExporterTargets; inherit nginxExporterTargets; }; system.stateVersion = stateVersion; }