pre-router: Make deployment via nixdeploy possible and begin renumbering
This commit is contained in:
parent
0efd5e0c76
commit
06e5cfd526
@ -48,7 +48,7 @@
|
||||
};
|
||||
|
||||
pre-router = { config, pkgs, ... }: {
|
||||
deployment.targetHost = "lightbuffet.bula22.de";
|
||||
deployment.targetHost = "fd00:10:42:10::25";
|
||||
deployment.keys = {
|
||||
|
||||
};
|
||||
|
@ -16,7 +16,7 @@
|
||||
wireguard.interfaces = {
|
||||
wg0 = {
|
||||
ips = [ "fe80::42:10:1/64" ];
|
||||
privateKey = "SUPERSECRETKEY";
|
||||
privateKeyFile = "/var/src/secrets/wireguard/wg0";
|
||||
listenPort = 51820;
|
||||
allowedIPsAsRoutes = false;
|
||||
postSetup = ''
|
||||
@ -34,10 +34,11 @@
|
||||
};
|
||||
};
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||
networking.interfaces.ens19.ipv6.addresses = [{
|
||||
address = "2a01:4f8:1c0c:8221::1";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
networking.interfaces.ens19.ipv6.addresses = [
|
||||
{ address = "fd00:10:42:10::25"; prefixLength = 64; }
|
||||
{ address = "2a01:4f8:1c0c:8221::1"; prefixLength = 64; }
|
||||
{ address = "2a01:4f8:1c0c:8221::25"; prefixLength = 64; }
|
||||
];
|
||||
services.corerad = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
Loading…
Reference in New Issue
Block a user