fix: update IPv6 Adresses

This commit is contained in:
Benjamin Bädorf 2023-10-21 23:16:35 +02:00
parent 46f8357cb6
commit 89a1792105
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
5 changed files with 12 additions and 12 deletions

View file

@ -29,7 +29,7 @@ in {
boot.initrd.network.enable = true; boot.initrd.network.enable = true;
boot.initrd.network.ssh = { boot.initrd.network.ssh = {
enable = true; enable = true;
port = 22; port = 2222;
authorizedKeys = psCfg.user.publicKeys; authorizedKeys = psCfg.user.publicKeys;
hostKeys = ["/etc/secrets/initrd/ssh_host_ed25519_key"]; hostKeys = ["/etc/secrets/initrd/ssh_host_ed25519_key"];
}; };

View file

@ -107,7 +107,7 @@
code = 23; code = 23;
space = "dhcp6"; space = "dhcp6";
csv-format = true; csv-format = true;
data = "2a02:908:5b1:e3c0:3077:4e39:7763:2"; data = "2a02:908:5b1:e3c0:3077:2::";
} }
]; ];
@ -116,28 +116,28 @@
hostname = "droppie.local"; hostname = "droppie.local";
hw-address = "08:f1:ea:97:0f:0c"; hw-address = "08:f1:ea:97:0f:0c";
ip-addresses = [ ip-addresses = [
"2a02:908:5b1:e3c0:3077:4e39:7763:3" "2a02:908:5b1:e3c0:3077:3::"
]; ];
} }
{ {
hostname = "pie.local"; hostname = "pie.local";
hw-address = "dc:a6:32:5c:31:64"; hw-address = "dc:a6:32:5c:31:64";
ip-addresses = [ ip-addresses = [
"2a02:908:5b1:e3c0:3077:4e39:7763:2" "2a02:908:5b1:e3c0:3077:2::"
]; ];
} }
{ {
hostname = "chocolatebar.local"; hostname = "chocolatebar.local";
hw-address = "04:d9:f5:fa:35:f5"; hw-address = "04:d9:f5:fa:35:f5";
ip-addresses = [ ip-addresses = [
"2a02:908:5b1:e3c0:3077:4e39:7763:5" "2a02:908:5b1:e3c0:3077:5::"
]; ];
} }
{ {
hostname = "biolimo.local"; hostname = "biolimo.local";
hw-address = "c6:f2:d1:df:ed:a4"; hw-address = "c6:f2:d1:df:ed:a4";
ip-addresses = [ ip-addresses = [
"2a02:908:5b1:e3c0:3077:4e39:7763:6" "2a02:908:5b1:e3c0:3077:6::"
]; ];
} }
]; ];

View file

@ -21,7 +21,7 @@
networking.interfaces.enabcm6e4ei0.ipv6.addresses = [ networking.interfaces.enabcm6e4ei0.ipv6.addresses = [
{ {
address = "2a02:908:5b1:e3c0:3077:4e39:7763:b5b7"; address = "2a02:908:5b1:e3c0:3077:2::";
prefixLength = 128; prefixLength = 128;
} }
]; ];
@ -34,7 +34,7 @@
# Caddy reverse proxy for local services like cups # Caddy reverse proxy for local services like cups
services.caddy = { services.caddy = {
globalConfig = '' globalConfig = ''
default_bind 192.168.178.2 2a02:908:5b1:e3c0:3077:4e39:7763:b5b7 default_bind 192.168.178.2 2a02:908:5b1:e3c0:3077:2::
auto_https off auto_https off
''; '';
}; };

View file

@ -26,16 +26,16 @@
"\"brwb8763f64a364.local. 10800 IN A 192.168.178.4\"" "\"brwb8763f64a364.local. 10800 IN A 192.168.178.4\""
"\"droppie.local. 10800 IN A 192.168.178.3\"" "\"droppie.local. 10800 IN A 192.168.178.3\""
"\"droppie.local. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:4e39:7763:3\"" "\"droppie.local. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:3::\""
"\"droppie.b12f.io. 10800 IN A 10.0.1.3\"" "\"droppie.b12f.io. 10800 IN A 10.0.1.3\""
"\"droppie.b12f.io. 10800 IN AAAA fd00:acab:1312:acab:3::\"" "\"droppie.b12f.io. 10800 IN AAAA fd00:acab:1312:acab:3::\""
"\"backup.b12f.io. 10800 IN CNAME droppie.b12f.io\"" "\"backup.b12f.io. 10800 IN CNAME droppie.b12f.io\""
"\"pie.local. 10800 IN A 192.168.178.2\"" "\"pie.local. 10800 IN A 192.168.178.2\""
"\"pie.local. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:4e39:7763:2\"" "\"pie.local. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:2::\""
"\"vpn.b12f.io. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:4e39:7763:2\"" "\"vpn.b12f.io. 10800 IN AAAA 2a02:908:5b1:e3c0:3077:2::\""
"\"pie.b12f.io. 10800 IN A 10.0.1.2\"" "\"pie.b12f.io. 10800 IN A 10.0.1.2\""
"\"pie.b12f.io. 10800 IN AAAA fd00:acab:1312:acab:2::\"" "\"pie.b12f.io. 10800 IN AAAA fd00:acab:1312:acab:2::\""

View file

@ -44,7 +44,7 @@ in {
"10.0.1.2/32" "10.0.1.2/32"
"fd00:acab:1312:acab:2::/128" "fd00:acab:1312:acab:2::/128"
]; ];
endpoint = "[2a02:908:5b1:e3c0:3077:4e39:7763:2]:51898"; endpoint = "[2a02:908:5b1:e3c0:3077:2::]:51898";
persistentKeepalive = 25; persistentKeepalive = 25;
} }
]; ];