1
0

pre-router: Make deployment via nixdeploy possible and begin renumbering

This commit is contained in:
clerie 2022-07-17 13:28:14 +02:00
parent 0efd5e0c76
commit 06e5cfd526
2 changed files with 8 additions and 7 deletions

View File

@ -48,7 +48,7 @@
}; };
pre-router = { config, pkgs, ... }: { pre-router = { config, pkgs, ... }: {
deployment.targetHost = "lightbuffet.bula22.de"; deployment.targetHost = "fd00:10:42:10::25";
deployment.keys = { deployment.keys = {
}; };

View File

@ -16,7 +16,7 @@
wireguard.interfaces = { wireguard.interfaces = {
wg0 = { wg0 = {
ips = [ "fe80::42:10:1/64" ]; ips = [ "fe80::42:10:1/64" ];
privateKey = "SUPERSECRETKEY"; privateKeyFile = "/var/src/secrets/wireguard/wg0";
listenPort = 51820; listenPort = 51820;
allowedIPsAsRoutes = false; allowedIPsAsRoutes = false;
postSetup = '' postSetup = ''
@ -34,10 +34,11 @@
}; };
}; };
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1; boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
networking.interfaces.ens19.ipv6.addresses = [{ networking.interfaces.ens19.ipv6.addresses = [
address = "2a01:4f8:1c0c:8221::1"; { address = "fd00:10:42:10::25"; prefixLength = 64; }
prefixLength = 64; { address = "2a01:4f8:1c0c:8221::1"; prefixLength = 64; }
}]; { address = "2a01:4f8:1c0c:8221::25"; prefixLength = 64; }
];
services.corerad = { services.corerad = {
enable = true; enable = true;
settings = { settings = {
@ -54,4 +55,4 @@
}; };
}; };
}; };
} }