Move computers around europe.
This commit is contained in:
parent
5943f7ec95
commit
db512c1dcd
@ -64,7 +64,7 @@
|
|||||||
};
|
};
|
||||||
networking.firewall.checkReversePath = false;
|
networking.firewall.checkReversePath = false;
|
||||||
fileSystems."/var/lib/libvirt/images/vaccaria" = {
|
fileSystems."/var/lib/libvirt/images/vaccaria" = {
|
||||||
device = "//vaccaria.mtlaa.gebner.org/export/tmp/vms";
|
device = "//vaccaria.htdf.gebner.org/export/tmp/vms";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria"
|
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria"
|
||||||
"forceuid" "forcegid" "uid=0" "gid=0" ];
|
"forceuid" "forcegid" "uid=0" "gid=0" ];
|
||||||
|
@ -54,13 +54,13 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
fileSystems."/mnt/vaccaria" = {
|
fileSystems."/mnt/vaccaria" = {
|
||||||
device = "//vaccaria.mtlaa.gebner.org/export";
|
device = "//vaccaria.htdf.gebner.org/export";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" ];
|
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/aplysia" = {
|
fileSystems."/mnt/aplysia" = {
|
||||||
device = "//aplysia.mtlaa.gebner.org/export";
|
device = "//aplysia.ams.gebner.org/export";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" ];
|
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" ];
|
||||||
};
|
};
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
privateKeyFile = "/etc/wgkeys/decoysnail";
|
privateKeyFile = "/etc/wgkeys/decoysnail";
|
||||||
allowedIPsAsRoutes = true;
|
allowedIPsAsRoutes = true;
|
||||||
postSetup = ''
|
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
|
${pkgs.systemd}/bin/resolvectl dns wg0 10.57.0.1
|
||||||
'';
|
'';
|
||||||
peers = [{
|
peers = [{
|
||||||
|
@ -129,7 +129,7 @@
|
|||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
|
||||||
virtualHosts."murex.mtlaa.gebner.org" = {
|
virtualHosts."murex.ams.gebner.org" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${toString config.services.octoprint.port}";
|
proxyPass = "http://localhost:${toString config.services.octoprint.port}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
privateKeyFile = "/etc/wgkeys/petalius";
|
privateKeyFile = "/etc/wgkeys/petalius";
|
||||||
allowedIPsAsRoutes = true;
|
allowedIPsAsRoutes = true;
|
||||||
postSetup = ''
|
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
|
${pkgs.systemd}/bin/resolvectl dns wg0 10.58.0.1
|
||||||
'';
|
'';
|
||||||
peers = [{
|
peers = [{
|
||||||
|
Loading…
Reference in New Issue
Block a user