initial setup ipv6

This commit is contained in:
LorenzProbst 2026-06-17 16:00:51 +02:00
parent 31b692bc15
commit b87fd21286

View file

@ -44,7 +44,17 @@
domain = "lo-probst.de"; domain = "lo-probst.de";
networkmanager.enable = true; # Configure network connections interactively with nmcli or nmtui. networkmanager.enable = true; # Configure network connections interactively with nmcli or nmtui.
useDHCP = false; useDHCP = false;
interfaces.enp1s0.useDHCP = true; interfaces.enp1s0 = {
useDHCP = true;
ipv6.addresses = [ {
address = "2a01:4f8:c010:b496::1";
prefixLength = 64;
} ];
};
defaultGateway6 = {
address = "fe80::1";
interface = "enp1s0";
};
# Open ports in the firewall. # Open ports in the firewall.
firewall.allowedTCPPorts = [ 80 443 ]; firewall.allowedTCPPorts = [ 80 443 ];
# firewall.allowedUDPPorts = [ ... ]; # firewall.allowedUDPPorts = [ ... ];