From db512c1dcd12cf9b43d460b38af7e665ec053c4f Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 14 Oct 2019 11:03:14 +0200 Subject: [PATCH] Move computers around europe. --- archachatina.nix | 2 +- common-headless.nix | 4 ++-- decoysnail.nix | 2 +- murex.nix | 2 +- petalius.nix | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/archachatina.nix b/archachatina.nix index 7837d8c..71789f7 100644 --- a/archachatina.nix +++ b/archachatina.nix @@ -64,7 +64,7 @@ }; networking.firewall.checkReversePath = false; fileSystems."/var/lib/libvirt/images/vaccaria" = { - device = "//vaccaria.mtlaa.gebner.org/export/tmp/vms"; + device = "//vaccaria.htdf.gebner.org/export/tmp/vms"; fsType = "cifs"; options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "forceuid" "forcegid" "uid=0" "gid=0" ]; diff --git a/common-headless.nix b/common-headless.nix index 9ce044f..034a9de 100644 --- a/common-headless.nix +++ b/common-headless.nix @@ -54,13 +54,13 @@ ]; fileSystems."/mnt/vaccaria" = { - device = "//vaccaria.mtlaa.gebner.org/export"; + device = "//vaccaria.htdf.gebner.org/export"; fsType = "cifs"; options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" ]; }; fileSystems."/mnt/aplysia" = { - device = "//aplysia.mtlaa.gebner.org/export"; + device = "//aplysia.ams.gebner.org/export"; fsType = "cifs"; options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" ]; }; diff --git a/decoysnail.nix b/decoysnail.nix index a869975..4f2cc21 100644 --- a/decoysnail.nix +++ b/decoysnail.nix @@ -63,7 +63,7 @@ privateKeyFile = "/etc/wgkeys/decoysnail"; allowedIPsAsRoutes = true; postSetup = '' - ${pkgs.systemd}/bin/resolvectl domain wg0 '~htdf.gebner.org' '~mtlaa.gebner.org' + ${pkgs.systemd}/bin/resolvectl domain wg0 '~htdf.gebner.org' '~mtlaa.gebner.org' '~ams.gebner.org' ${pkgs.systemd}/bin/resolvectl dns wg0 10.57.0.1 ''; peers = [{ diff --git a/murex.nix b/murex.nix index 7aea3a2..b346392 100644 --- a/murex.nix +++ b/murex.nix @@ -129,7 +129,7 @@ recommendedGzipSettings = true; recommendedProxySettings = true; - virtualHosts."murex.mtlaa.gebner.org" = { + virtualHosts."murex.ams.gebner.org" = { locations."/" = { proxyPass = "http://localhost:${toString config.services.octoprint.port}"; proxyWebsockets = true; diff --git a/petalius.nix b/petalius.nix index a0e195b..06061e1 100644 --- a/petalius.nix +++ b/petalius.nix @@ -99,7 +99,7 @@ privateKeyFile = "/etc/wgkeys/petalius"; allowedIPsAsRoutes = true; postSetup = '' - ${pkgs.systemd}/bin/resolvectl domain wg0 '~htdf.gebner.org' '~mtlaa.gebner.org' + ${pkgs.systemd}/bin/resolvectl domain wg0 '~htdf.gebner.org' '~mtlaa.gebner.org' '~ams.gebner.org' ${pkgs.systemd}/bin/resolvectl dns wg0 10.58.0.1 ''; peers = [{