Move computers around europe.
This commit is contained in:
parent
5943f7ec95
commit
db512c1dcd
@ -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" ];
|
||||
|
@ -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" ];
|
||||
};
|
||||
|
@ -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 = [{
|
||||
|
@ -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;
|
||||
|
@ -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 = [{
|
||||
|
Loading…
Reference in New Issue
Block a user