Skip to content
Snippets Groups Projects
Commit 1e50e395 authored by Florian Sesser's avatar Florian Sesser
Browse files

Add ssh.nix to monitoring as well

parent 1b7252b5
No related branches found
No related tags found
3 merge requests!153merge staging into production,!144merge develop into staging,!142Add ssh.nix to monitoring systems
Pipeline #915 passed
......@@ -61,7 +61,7 @@ let
(gridlib.hardware-virtual ({ publicIPv4 = "192.168.67.24"; }))
(gridlib.customize-monitoring {
inherit hostsMap vpnClientIPs nodeExporterTargets paymentExporterTargets;
inherit (config) domain publicKeyPath privateKeyPath letsEncryptAdminEmail;
inherit (config) domain publicKeyPath privateKeyPath sshUsers letsEncryptAdminEmail;
googleOAuthClientID = config.monitoringGoogleOAuthClientID;
monitoringvpnIPv4 = "172.23.23.1";
stateVersion = "19.09";
......
......@@ -38,7 +38,7 @@ let
gridlib.hardware-aws
(gridlib.customize-monitoring {
inherit hostsMap vpnClientIPs nodeExporterTargets paymentExporterTargets;
inherit (config) domain publicKeyPath privateKeyPath letsEncryptAdminEmail;
inherit (config) domain publicKeyPath privateKeyPath sshUsers letsEncryptAdminEmail;
googleOAuthClientID = config.monitoringGoogleOAuthClientID;
monitoringvpnIPv4 = "172.23.23.1";
stateVersion = "19.09";
......
......@@ -51,7 +51,7 @@ let
gridlib.hardware-aws
(gridlib.customize-monitoring {
inherit hostsMap vpnClientIPs nodeExporterTargets paymentExporterTargets;
inherit (config) domain publicKeyPath privateKeyPath letsEncryptAdminEmail;
inherit (config) domain publicKeyPath privateKeyPath sshUsers letsEncryptAdminEmail;
googleOAuthClientID = config.monitoringGoogleOAuthClientID;
monitoringvpnIPv4 = "172.23.23.1";
stateVersion = "19.09";
......
......@@ -13,6 +13,7 @@
, privateKeyPath
, monitoringvpnIPv4
, domain
, sshUsers
, letsEncryptAdminEmail
# A list of VPN IP addresses as strings indicating which clients will be
......@@ -84,6 +85,8 @@
networking.domain = domain;
networking.hosts = hostsMap;
services.private-storage.sshUsers = sshUsers;
services.private-storage.monitoring.vpn.server = {
enable = true;
ip = monitoringvpnIPv4;
......
......@@ -21,6 +21,8 @@ rec {
};
imports = [
# Give it a good SSH configuration.
../../nixos/modules/ssh.nix
# Allow us to remotely trigger updates to this system.
../../nixos/modules/deployment.nix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment